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:
parent
5f0a57ffdb
commit
fb8c48108b
@ -703,6 +703,7 @@ flush_state (CoglDrawFlags flags,
|
|||||||
#ifdef HAVE_COGL_GLES2
|
#ifdef HAVE_COGL_GLES2
|
||||||
if (ctx->driver == COGL_DRIVER_GLES2)
|
if (ctx->driver == COGL_DRIVER_GLES2)
|
||||||
setup_generic_attribute (ctx, source, attribute, base);
|
setup_generic_attribute (ctx, source, attribute, base);
|
||||||
|
else
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
_cogl_bitmask_set (&ctx->enable_builtin_attributes_tmp,
|
_cogl_bitmask_set (&ctx->enable_builtin_attributes_tmp,
|
||||||
|
Loading…
Reference in New Issue
Block a user