That won't fix the problem.
It's all down to the graphics card how it deals with 16 bit.
Some have 555, and as you've found 565. Some will emulate 24bit.
The easiest way I've found is to write the pixel to an image buffer and read it back out again. That way you'll get the correct results regardless of the video card.
It's all down to the graphics card how it deals with 16 bit.
Some have 555, and as you've found 565. Some will emulate 24bit.
The easiest way I've found is to write the pixel to an image buffer and read it back out again. That way you'll get the correct results regardless of the video card.