Index: bench/GLBench.cpp |
diff --git a/bench/GLBench.cpp b/bench/GLBench.cpp |
index e51adba6e353bfdc4390ecedb9dd899274b6eae2..f184d770b3dc990cbc76b5d02c660118023e356f 100644 |
--- a/bench/GLBench.cpp |
+++ b/bench/GLBench.cpp |
@@ -110,7 +110,7 @@ GrGLuint GLBench::SetupFramebuffer(const GrGLInterface* gl, int screenWidth, int |
//Setup framebuffer |
GrGLuint texture; |
GR_GL_CALL(gl, GenTextures(1, &texture)); |
- GR_GL_CALL(gl, ActiveTexture(GR_GL_TEXTURE15)); |
+ GR_GL_CALL(gl, ActiveTexture(GR_GL_TEXTURE7)); |
GR_GL_CALL(gl, BindTexture(GR_GL_TEXTURE_2D, texture)); |
GR_GL_CALL(gl, TexParameteri(GR_GL_TEXTURE_2D, GR_GL_TEXTURE_MAG_FILTER, GR_GL_NEAREST)); |
GR_GL_CALL(gl, TexParameteri(GR_GL_TEXTURE_2D, GR_GL_TEXTURE_MIN_FILTER, GR_GL_NEAREST)); |