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:
parent
fd43786170
commit
a4b984186c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user