Fix number of textures available to OpenGL greyscale filter

pull/2/head
Timothy Pearson 10 years ago
parent fb7b5f6d45
commit 6a2b9ef024

@ -493,7 +493,7 @@ typedef struct {
/// Framebuffer used for greyscale conversion. /// Framebuffer used for greyscale conversion.
GLuint fbo; GLuint fbo;
/// Textures used for greyscale conversion. /// Textures used for greyscale conversion.
GLuint textures[2]; GLuint textures[1];
/// Width of the textures. /// Width of the textures.
int width; int width;
/// Height of the textures. /// Height of the textures.

Loading…
Cancel
Save