From 6a2b9ef024d8e8a579da3ed47591ccf20b699da9 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 22 Nov 2014 17:17:29 -0600 Subject: Fix number of textures available to OpenGL greyscale filter --- twin/compton-tde/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'twin/compton-tde/common.h') 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. -- cgit v1.2.1