summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorLouis-Francis Ratté-Boulianne <lfrb@collabora.com>2014-11-12 12:46:22 -0500
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-11-13 07:54:15 +0100
commitf3981e86d66e5d57e266961586a5b94ffd290fa9 (patch)
tree81288248f4914f4fe8d901a8e0330060ccb1656d /vcl
parentf433825259731e6fd0bc666f4d22b2f31dc99fa9 (diff)
vcl: Fix the masked texture program attributes binding
Change-Id: Ie7440881f35eaf348aef35beea5a6d407d16a342
Diffstat (limited to 'vcl')
-rw-r--r--vcl/opengl/gdiimpl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx
index 2a6dcfc1c070..669b1905dafb 100644
--- a/vcl/opengl/gdiimpl.cxx
+++ b/vcl/opengl/gdiimpl.cxx
@@ -285,8 +285,8 @@ bool OpenGLSalGraphicsImpl::CreateMaskedTextureProgram( void )
if( mnMaskedTextureProgram == 0 )
return false;
- glBindAttribLocation( mnTextureProgram, GL_ATTRIB_POS, "position" );
- glBindAttribLocation( mnTextureProgram, GL_ATTRIB_TEX, "tex_coord_in" );
+ glBindAttribLocation( mnMaskedTextureProgram, GL_ATTRIB_POS, "position" );
+ glBindAttribLocation( mnMaskedTextureProgram, GL_ATTRIB_TEX, "tex_coord_in" );
mnMaskedSamplerUniform = glGetUniformLocation( mnMaskedTextureProgram, "sampler" );
mnMaskSamplerUniform = glGetUniformLocation( mnMaskedTextureProgram, "mask" );