diff --git a/basis/opengl/gl/gl.factor b/basis/opengl/gl/gl.factor index 6136115dbb..fb3b10354b 100644 --- a/basis/opengl/gl/gl.factor +++ b/basis/opengl/gl/gl.factor @@ -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 diff --git a/basis/opengl/textures/textures.factor b/basis/opengl/textures/textures.factor index 0a8fc945bf..c2fa02ac5e 100755 --- a/basis/opengl/textures/textures.factor +++ b/basis/opengl/textures/textures.factor @@ -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 ;