Difference between revisions of "Render Color index in RGB window"

From OpenGL Wiki
Jump to: navigation, search
m
 
(Getting rid of obsolete GL_EXT_paletted_texture)
 
Line 1: Line 1:
There isn't a way to do this. However, you might consider opening an RGB window with a color index overlay plane, if it works in your application.
+
There isn't a way to do this.
 
 
If you have an array of color indices that you want to use as a texture map, you might want to consider using GL_EXT_paletted_texture, which lets an application specify a color index texture map with a color palette.
 
  
 +
You should be opening a RGB context (it would actually be RGBX or XBGR depending on what the GPU prefers) or a RGBA or ABGRA context.
 
[[Category:Color]]
 
[[Category:Color]]

Latest revision as of 15:41, 28 August 2009

There isn't a way to do this.

You should be opening a RGB context (it would actually be RGBX or XBGR depending on what the GPU prefers) or a RGBA or ABGRA context.