how can change the bmp in memory to framebuffer?
i have read bmp into memory, but i don’t know how can change it to a framebuffer, also does glreadpixels() read a block of pixels from the frame buffer ?
Hi !
I am not sure what you want to do, do you want to copy the bmp in memory to the framebuffer ?
In that case you use glDrawPixels, just make sure that you use the correct format.
And yes glReadPixels will copy pixels from the framebuffer to a meory area that you specify.
Mikael