[cogl] Add an NULL terminator to the call to material_flush_gl_state

This fixes a compiler warning and a potential crash.
This commit is contained in:
Neil Roberts 2009-01-29 12:21:56 +00:00
parent 02127858f3
commit da9f956fd1
2 changed files with 2 additions and 2 deletions

View File

@ -485,7 +485,7 @@ _cogl_add_stencil_clip (float x_offset,
{
_COGL_GET_CONTEXT (ctx, NO_RETVAL);
cogl_material_flush_gl_state (ctx->stencil_material);
cogl_material_flush_gl_state (ctx->stencil_material, NULL);
if (first)
{

View File

@ -408,7 +408,7 @@ _cogl_add_stencil_clip (float x_offset,
{
_COGL_GET_CONTEXT (ctx, NO_RETVAL);
cogl_material_flush_gl_state (ctx->stencil_material);
cogl_material_flush_gl_state (ctx->stencil_material, NULL);
if (first)
{