GL_BGR and GL_BGRA are standard these days

db4
Joe Groff 2009-06-22 18:07:46 -05:00
parent 8fabe24b1d
commit 7de264c028
2 changed files with 3 additions and 7 deletions

View File

@ -356,10 +356,6 @@ CONSTANT: GL_DITHER HEX: 0BD0
CONSTANT: GL_RGB HEX: 1907
CONSTANT: GL_RGBA HEX: 1908
! GL_BGRA_ext: http://www.opengl.org/registry/specs/EXT/bgra.txt
CONSTANT: GL_BGR_EXT HEX: 80E0
CONSTANT: GL_BGRA_EXT HEX: 80E1
! Implementation limits
CONSTANT: GL_MAX_LIST_NESTING HEX: 0B31
CONSTANT: GL_MAX_ATTRIB_STACK_DEPTH HEX: 0D35

View File

@ -44,10 +44,10 @@ M: BGR component-order>format drop GL_BGR ;
M: RGBA component-order>format drop GL_RGBA ;
M: ARGB component-order>format
swap GL_UNSIGNED_BYTE =
[ drop GL_UNSIGNED_INT_8_8_8_8_REV GL_BGRA_EXT ]
[ drop GL_UNSIGNED_INT_8_8_8_8_REV GL_BGRA ]
[ unsupported-component-order ] if ;
M: BGRA component-order>format drop GL_BGRA_EXT ;
M: BGRX component-order>format drop GL_BGRA_EXT ;
M: BGRA component-order>format drop GL_BGRA ;
M: BGRX component-order>format drop GL_BGRA ;
M: LA component-order>format drop GL_LUMINANCE_ALPHA ;
M: L component-order>format drop GL_LUMINANCE ;