cogl: Fix some misleading variable names

This was clearly blindly copypasta'd from the (now deleted) 3D texture
code.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/487
This commit is contained in:
Adam Jackson 2019-03-07 17:49:59 -05:00 committed by Georges Basile Stavracas Neto
parent 28954e8271
commit 68166f33d9

View File

@ -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)