Set the initial value of a variable

Fixes a compiler warning.
This commit is contained in:
Emmanuele Bassi 2010-06-15 16:42:30 +01:00
parent c506b58ecf
commit d3b26f3f4d

View File

@ -1094,7 +1094,7 @@ cogl_polygon (const CoglTextureVertex *vertices,
GLfloat *v; GLfloat *v;
CoglMaterialWrapModeOverrides wrap_mode_overrides; CoglMaterialWrapModeOverrides wrap_mode_overrides;
CoglMaterialWrapModeOverrides *wrap_mode_overrides_p = NULL; CoglMaterialWrapModeOverrides *wrap_mode_overrides_p = NULL;
CoglHandle original_source_material; CoglHandle original_source_material = NULL;
gboolean overrode_material = FALSE; gboolean overrode_material = FALSE;
_COGL_GET_CONTEXT (ctx, NO_RETVAL); _COGL_GET_CONTEXT (ctx, NO_RETVAL);