diff options
-rw-r--r-- | vcl/opengl/texture.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/opengl/texture.cxx b/vcl/opengl/texture.cxx index 938de5428374..c8f46848e6d6 100644 --- a/vcl/opengl/texture.cxx +++ b/vcl/opengl/texture.cxx @@ -244,6 +244,7 @@ bool OpenGLTexture::Draw() aTexCoord[3] = aTexCoord[5] = maRect.Bottom() / (double) mpImpl->mnHeight; } + glActiveTexture( GL_TEXTURE0 ); glBindTexture( GL_TEXTURE_2D, mpImpl->mnTexture ); glEnableVertexAttribArray( 0 ); glVertexAttribPointer( 0, 2, GL_FLOAT, GL_FALSE, 0, aPosition ); |