From bf0256bf1b393f381f5865e3bb8ddbeb03a244eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Tue, 31 Oct 2006 13:20:51 +0000 Subject: [PATCH] Fix compile. svn path=/branches/work/kwin_composite/; revision=600688 --- scene_opengl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene_opengl.cpp b/scene_opengl.cpp index c19b4ceaa1..7628a8ffe3 100644 --- a/scene_opengl.cpp +++ b/scene_opengl.cpp @@ -79,6 +79,7 @@ bool SceneOpenGL::copy_buffer_hack; // workaround for nvidia < 1.0-9xxx drivers // finding of OpenGL extensions functions typedef void (*glXFuncPtr)(); typedef glXFuncPtr (*glXGetProcAddress_func)( const GLubyte* ); +glXGetProcAddress_func glXGetProcAddress; static glXFuncPtr getProcAddress( const char* name ) { @@ -95,7 +96,6 @@ typedef void (*glXBindTexImageEXT_func)( Display* dpy, GLXDrawable drawable, int buffer, const int* attrib_list ); typedef void (*glXReleaseTexImageEXT_func)( Display* dpy, GLXDrawable drawable, int buffer ); glXReleaseTexImageEXT_func glXReleaseTexImageEXT; -glXGetProcAddress_func glXGetProcAddress; glXBindTexImageEXT_func glXBindTexImageEXT; // detect OpenGL error (add to various places in code to pinpoint the place)