View Full Version : How to use glDrawPixels with GL_COLOR_INDEX format?

12-02-2001, 07:55 PM
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.