CopyRect Fails in 16bit Color

Blitz3D Forums/Blitz3D Beginners Area/CopyRect Fails in 16bit Color

Moore(Posted 2008) [#1]
Ok... Im using copyrect to copy a block from an image buffer to a texture buffer. In 32bit color it works just fine but in 16bit color all I get is a black square. Any ideas?


Ross C(Posted 2008) [#2]
Did you state the two buffers in the copyrect statement?


Moore(Posted 2008) [#3]
yes I did. The function works fine in graphics3d 800, 600, 32 but not at all in 800, 600, 16.


Moore(Posted 2008) [#4]
Well, I couldn't get copyrect to work in 16bit color going from an image to a texture. BUT the old fashion read/writepixel-fast works just fine, if only a bit slower.