summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-01-11 00:03:34 +0200
committerTor Lillqvist <tml@iki.fi>2013-01-11 00:03:34 +0200
commit294ec42e765ae478c00b3a2051e04224c30f47a4 (patch)
treedf638bc9529f15dbf2df226bb4fa973e097220fa /slideshow
parentab4a0f1165e43d5052603a1c66a07585edd2919e (diff)
Copy/paste error
Change-Id: I9e4ba84eb1cc3dff8c39369a9da32dd49839ecef
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/OGLTrans/generic/OGLTrans_Shaders.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_Shaders.cxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_Shaders.cxx
index e2f1a58a1cdb..ea8bdb6739b6 100644
--- a/slideshow/source/engine/OGLTrans/generic/OGLTrans_Shaders.cxx
+++ b/slideshow/source/engine/OGLTrans/generic/OGLTrans_Shaders.cxx
@@ -93,7 +93,7 @@ bool OGLShaders::Initialize()
cbInitialized = true;
#elif defined(MACOSX)
#else
- glActiveTexture = (PFNGLCREATESHADERPROC) unx::glXGetProcAddress( (unsigned char *) "glActiveTexture" );
+ glActiveTexture = (PFNGLACTIVETEXTUREPROC) unx::glXGetProcAddress( (unsigned char *) "glActiveTexture" );
glCreateShader = (PFNGLCREATESHADERPROC) unx::glXGetProcAddress( (unsigned char *) "glCreateShader" );
glShaderSource = (PFNGLSHADERSOURCEPROC) unx::glXGetProcAddress( (unsigned char *) "glShaderSource" );
glCompileShader = (PFNGLCOMPILESHADERPROC) unx::glXGetProcAddress( (unsigned char *) "glCompileShader" );