cogl-gles2-wrapper: Fix a reference to the old name for CoglPipeline

The GLES2 wrapper was referring to COGL_MATERIAL_PROGRAM_TYPE_GLSL but
this has since been renamed to COGL_PIPELINE_PROGRAM_TYPE_GLSL so the
GLES2 backend wouldn't compile.
This commit is contained in:
Neil Roberts 2010-11-04 14:56:44 +00:00
parent 61bb91a2e7
commit 2a7e7fb6d3

View File

@ -1126,7 +1126,7 @@ _cogl_wrap_prepare_for_draw (void)
again in the _start function. This should go away once the GLSL
code is generated in the GLSL material backend so it's probably
not worth worrying about now */
_cogl_use_program (program->program, COGL_MATERIAL_PROGRAM_TYPE_GLSL);
_cogl_use_program (program->program, COGL_PIPELINE_PROGRAM_TYPE_GLSL);
/* Make sure all of the uniforms are up to date */
if (w->dirty_uniforms)