I specified a palette to map color,and
glPixelTransferi(GL_MAP_COLOR, GL_TRUE);
but glDrawPixels draw nothing.
and FPS down form 76fps to 4fps.
How to draw a indexed color image to frame
buffer? sure,exclude convert image date to
RGBA color.
I specified a palette to map color,and
glPixelTransferi(GL_MAP_COLOR, GL_TRUE);
but glDrawPixels draw nothing.
and FPS down form 76fps to 4fps.
How to draw a indexed color image to frame
buffer? sure,exclude convert image date to
RGBA color.