From 2bf94df49701ccc808b18f26d2f8c206d823a7e5 Mon Sep 17 00:00:00 2001 From: Matthew Allum Date: Tue, 24 Jul 2007 12:17:42 +0000 Subject: [PATCH] 2007-07-24 Matthew Allum * clutter/cogl/gles/cogl.c: (cogl_get_bitmasks): Fix typo calling glGetIntegerv rather than glGetInteger --- ChangeLog | 5 +++++ clutter/cogl/gles/cogl.c | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 77f8b9473..9c4d82a29 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-07-24 Matthew Allum + + * clutter/cogl/gles/cogl.c: (cogl_get_bitmasks): + Fix typo calling glGetIntegerv rather than glGetInteger + 2007-07-24 Matthew Allum * clutter/cogl/gl/cogl.c: (cogl_get_features): diff --git a/clutter/cogl/gles/cogl.c b/clutter/cogl/gles/cogl.c index f7d874eac..088c4eb7a 100644 --- a/clutter/cogl/gles/cogl.c +++ b/clutter/cogl/gles/cogl.c @@ -571,11 +571,11 @@ void cogl_get_bitmasks (gint *red, gint *green, gint *blue, gint *alpha) { if (red) - GE( glGetInteger(GL_RED_BITS, red) ); + GE( glGetIntegerv(GL_RED_BITS, red) ); if (green) - GE( glGetInteger(GL_GREEN_BITS, green) ); + GE( glGetIntegerv(GL_GREEN_BITS, green) ); if (blue) - GE( glGetInteger(GL_BLUE_BITS, blue) ); + GE( glGetIntegerv(GL_BLUE_BITS, blue) ); if (alpha) - GE( glGetInteger(GL_ALPHA_BITS, alpha ) ); + GE( glGetIntegerv(GL_ALPHA_BITS, alpha ) ); }