mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 12:32:05 +00:00
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:
parent
61bb91a2e7
commit
2a7e7fb6d3
@ -1126,7 +1126,7 @@ _cogl_wrap_prepare_for_draw (void)
|
|||||||
again in the _start function. This should go away once the GLSL
|
again in the _start function. This should go away once the GLSL
|
||||||
code is generated in the GLSL material backend so it's probably
|
code is generated in the GLSL material backend so it's probably
|
||||||
not worth worrying about now */
|
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 */
|
/* Make sure all of the uniforms are up to date */
|
||||||
if (w->dirty_uniforms)
|
if (w->dirty_uniforms)
|
||||||
|
Loading…
Reference in New Issue
Block a user