b0ffe365ef
The quad drawing code keeps track of the number of texture units that have the tex coord array enabled so that in the next call it can disabled any that are no longer enabled. However it was using 'i+1' as the count but 'i' is already set to 'n_layers' from the previous for loop. Therefore it was disabling an extra texture unit. This doesn't normally matter but it was causing GLES 2 to pointlessly realize an extra unit. |
||
---|---|---|
.. | ||
cogl-context.c | ||
cogl-context.h | ||
cogl-defines.h.in | ||
cogl-fbo.c | ||
cogl-fbo.h | ||
cogl-fixed-fragment-shader.glsl | ||
cogl-fixed-vertex-shader.glsl | ||
cogl-gles2-wrapper.c | ||
cogl-gles2-wrapper.h | ||
cogl-internal.h | ||
cogl-primitives.c | ||
cogl-program.c | ||
cogl-program.h | ||
cogl-shader-private.h | ||
cogl-shader.c | ||
cogl-texture-private.h | ||
cogl-texture.c | ||
cogl-util.c | ||
cogl-util.h | ||
cogl.c | ||
Makefile.am | ||
stringify.sh |