diff --git a/cogl/cogl/cogl-glsl-shader.c b/cogl/cogl/cogl-glsl-shader.c index 6e1deb66c..fda923c34 100644 --- a/cogl/cogl/cogl-glsl-shader.c +++ b/cogl/cogl/cogl-glsl-shader.c @@ -102,10 +102,10 @@ _cogl_glsl_shader_set_source_with_boilerplate (CoglContext *ctx, if (cogl_has_feature (ctx, COGL_FEATURE_ID_TEXTURE_EGL_IMAGE_EXTERNAL)) { - static const char texture_3d_extension[] = + static const char image_external_extension[] = "#extension GL_OES_EGL_image_external : require\n"; - strings[count] = texture_3d_extension; - lengths[count++] = sizeof (texture_3d_extension) - 1; + strings[count] = image_external_extension; + lengths[count++] = sizeof (image_external_extension) - 1; } if (shader_gl_type == GL_VERTEX_SHADER)