mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
Add the missing check for COGL_FEATURE_POINT_SPRITE on the GL driver
The check for the point sprite feature got lost when the feature
functions header was combined for GL and GLES in dae02a99a
.
Reviewed-by: Robert Bragg <robert@linux.intel.com>
This commit is contained in:
parent
f7bdc92d6c
commit
93e69387cc
@ -209,6 +209,10 @@ _cogl_gl_update_features (CoglContext *context,
|
||||
_cogl_check_extension ("GL_EXT_pixel_buffer_object", gl_extensions))
|
||||
flags |= COGL_FEATURE_PBOS;
|
||||
|
||||
if (COGL_CHECK_GL_VERSION (gl_major, gl_minor, 2, 0) ||
|
||||
_cogl_check_extension ("GL_ARB_point_sprite", gl_extensions))
|
||||
flags |= COGL_FEATURE_POINT_SPRITE;
|
||||
|
||||
if (context->glGenPrograms)
|
||||
flags |= COGL_FEATURE_SHADERS_ARBFP;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user