[cogl] attribute: Add a missing 'else'
- From: Neil Roberts <nroberts src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl] attribute: Add a missing 'else'
- Date: Wed, 7 Dec 2011 15:10:49 +0000 (UTC)
commit fb8c48108b4c2166a69b9ab32a0201271026fe03
Author: Neil Roberts <neil linux intel com>
Date: Wed Dec 7 13:20:44 2011 +0000
attribute: Add a missing 'else'
The handler for the normal attribute was missing an else so presumably
it would have crashed on GLES2.
Reviewed-by: Robert Bragg <robert linux intel com>
cogl/cogl-attribute.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/cogl/cogl-attribute.c b/cogl/cogl-attribute.c
index 1c73bc9..b8d748a 100644
--- a/cogl/cogl-attribute.c
+++ b/cogl/cogl-attribute.c
@@ -703,6 +703,7 @@ flush_state (CoglDrawFlags flags,
#ifdef HAVE_COGL_GLES2
if (ctx->driver == COGL_DRIVER_GLES2)
setup_generic_attribute (ctx, source, attribute, base);
+ else
#endif
{
_cogl_bitmask_set (&ctx->enable_builtin_attributes_tmp,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]