Commit dcad2712 authored by Emmanuele Bassi's avatar Emmanuele Bassi

conform/cogl-materials: Fix a compiler warning

The function checking for the presence and use of the GLES2 support in
Cogl should be protected by #ifdef guards, to avoid a compiler warning.
parent 772ce1d5
......@@ -128,6 +128,7 @@ test_invalid_texture_layers (TestState *state, int x, int y)
test_material_with_primitives (state, x, y, 0xffffffff);
static gboolean
using_gles2_driver (void)
......@@ -136,6 +137,7 @@ using_gles2_driver (void)
return g_str_has_prefix ((const char *) gl_functions.glGetString (GL_VERSION),
"OpenGL ES 2");
static void
test_using_all_layers (TestState *state, int x, int y)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment