mirror of
https://github.com/brl/mutter.git
synced 2025-01-12 20:52:37 +00:00
* clutter/cogl/gles/cogl.c: (_cogl_features_init): do not set
COGL_FEATURE_TEXTURE_READ_PIXELS, since it is not available.
This commit is contained in:
parent
02ab70efc8
commit
ef627f1a5e
@ -468,8 +468,6 @@ _cogl_features_init ()
|
|||||||
|
|
||||||
_COGL_GET_CONTEXT (ctx, NO_RETVAL);
|
_COGL_GET_CONTEXT (ctx, NO_RETVAL);
|
||||||
|
|
||||||
flags = COGL_FEATURE_TEXTURE_READ_PIXELS;
|
|
||||||
|
|
||||||
GE( glGetIntegerv (GL_STENCIL_BITS, &stencil_bits) );
|
GE( glGetIntegerv (GL_STENCIL_BITS, &stencil_bits) );
|
||||||
if (stencil_bits > 0)
|
if (stencil_bits > 0)
|
||||||
flags |= COGL_FEATURE_STENCIL_BUFFER;
|
flags |= COGL_FEATURE_STENCIL_BUFFER;
|
||||||
|
Loading…
Reference in New Issue
Block a user