summaryrefslogtreecommitdiffstats
path: root/twin
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2014-11-22 17:17:29 -0600
committerTimothy Pearson <[email protected]>2014-11-22 17:17:56 -0600
commit6a2b9ef024d8e8a579da3ed47591ccf20b699da9 (patch)
treed0af41e8743ec827e862bf3b287d70fb5322cab7 /twin
parentfb7b5f6d45bb29b629169fb7ecd9247435398af2 (diff)
downloadtdebase-6a2b9ef024d8e8a579da3ed47591ccf20b699da9.tar.gz
tdebase-6a2b9ef024d8e8a579da3ed47591ccf20b699da9.zip
Fix number of textures available to OpenGL greyscale filter
Diffstat (limited to 'twin')
-rw-r--r--twin/compton-tde/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/twin/compton-tde/common.h b/twin/compton-tde/common.h
index ddb00fade..759e64698 100644
--- a/twin/compton-tde/common.h
+++ b/twin/compton-tde/common.h
@@ -493,7 +493,7 @@ typedef struct {
/// 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.