tests: test-cogl-shader-arbfp wasn't compiling shader

test-cogl-shader-arbfp was never calling cogl_shader_compile so it was a
fluke that it used to run before.
This commit is contained in:
Robert Bragg 2010-11-09 15:56:03 +00:00
parent fd43786170
commit a4b984186c

View File

@ -258,6 +258,7 @@ set_shader_num (int new_no)
shader = cogl_create_shader (COGL_SHADER_TYPE_FRAGMENT);
cogl_shader_source (shader, shaders[new_no].source);
cogl_shader_compile (shader);
program = cogl_create_program ();
cogl_program_attach_shader (program, shader);