summaryrefslogtreecommitdiff
path: root/cogl/cogl-matrix-stack.c
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2016-01-12 17:35:06 -0500
committerRay Strode <rstrode@redhat.com>2016-01-12 17:35:06 -0500
commitf19a275b44d84982828dfac64033e487130c2760 (patch)
tree0ba39a02dfe1de74e5683b18d1b7578607749bb5 /cogl/cogl-matrix-stack.c
parent3e72da3eb1260166a3d1709f6dd71db8b3a97625 (diff)
downloadcogl-wip/rstrode/prepare-for-mutter-merge.tar.gz
Diffstat (limited to 'cogl/cogl-matrix-stack.c')
-rw-r--r--cogl/cogl-matrix-stack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cogl/cogl-matrix-stack.c b/cogl/cogl-matrix-stack.c
index 400855f6..9b0926a8 100644
--- a/cogl/cogl-matrix-stack.c
+++ b/cogl/cogl-matrix-stack.c
@@ -829,7 +829,7 @@ _cogl_matrix_flush_to_gl_builtin (CoglContext *ctx,
{
g_assert (_cogl_has_private_feature (ctx, COGL_PRIVATE_FEATURE_GL_FIXED));
-#if defined (HAVE_COGL_GL) || defined (HAVE_COGL_GLES)
+#if defined (HAVE_COGL_GL)
if (ctx->flushed_matrix_mode != mode)
{
GLenum gl_mode = 0;
@@ -869,7 +869,7 @@ _cogl_matrix_entry_flush_to_gl_builtins (CoglContext *ctx,
{
g_assert (_cogl_has_private_feature (ctx, COGL_PRIVATE_FEATURE_GL_FIXED));
-#if defined (HAVE_COGL_GL) || defined (HAVE_COGL_GLES)
+#if defined (HAVE_COGL_GL)
{
CoglBool needs_flip;
CoglMatrixEntryCache *cache;