Branch: master

6a2b9ef0 2014-11-22 17:17:56 Timothy Pearson
Fix number of textures available to OpenGL greyscale filter
M twin/compton-tde/common.h
diff --git a/twin/compton-tde/common.h b/twin/compton-tde/common.h
index ddb00fa..759e646 100644
--- a/twin/compton-tde/common.h
+++ b/twin/compton-tde/common.h
@@ -493,7 +493,7 @@
   /// Framebuffer used for greyscale conversion.
   GLuint fbo;
   /// Textures used for greyscale conversion.
-  GLuint textures[2];
+  GLuint textures[1];
   /// Width of the textures.
   int width;
   /// Height of the textures.