I need to draw an image as the background of mine rendering, I’m cheating with glDrawPixels but seems that nothing wanna appear on the DC… can someone help me ??
I MUST use (I think) the DrawPixels bcos I have a 640X480 image to paint…
I have a buffer defined as GLuint test and filled with the picture RGB values…
This is mine initialization code :
glClearColor(0.0f, 0.0f, 0.0f, 0.5f);
And this is the drawing routine :
Thanks to every1 who will help me…