GL_BGR and GL_BGRA are standard these days
parent
8fabe24b1d
commit
7de264c028
|
@ -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
|
||||
|
|
|
@ -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 ;
|
||||
|
||||
|
|
Loading…
Reference in New Issue