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>
This commit is contained in:
Neil Roberts 2011-12-07 13:20:44 +00:00
parent 5f0a57ffdb
commit fb8c48108b

View File

@ -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,