mirror of
https://github.com/brl/mutter.git
synced 2025-01-26 03:18:56 +00:00
cogl: Revert "build: Remove unused variable"
Having ctx here produces a warning on GLES. However it's needed for Big GL as we have at the top of the file: #ifdef HAVE_COGL_GL #define glClientActiveTexture ctx->drv.pf_glClientActiveTexture #endif This reverts commit 27a3a2056a245aca64b8e3a7d82b7976c13e897a.
This commit is contained in:
parent
8ee9179447
commit
1564418b3f
@ -705,6 +705,8 @@ cogl_read_pixels (int x,
|
|||||||
static void
|
static void
|
||||||
_cogl_disable_other_texcoord_arrays_cb (int texcoord_array_num, gpointer data)
|
_cogl_disable_other_texcoord_arrays_cb (int texcoord_array_num, gpointer data)
|
||||||
{
|
{
|
||||||
|
CoglContext *ctx = data;
|
||||||
|
|
||||||
GE (glClientActiveTexture (GL_TEXTURE0 + texcoord_array_num));
|
GE (glClientActiveTexture (GL_TEXTURE0 + texcoord_array_num));
|
||||||
GE (glDisableClientState (GL_TEXTURE_COORD_ARRAY));
|
GE (glDisableClientState (GL_TEXTURE_COORD_ARRAY));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user