Applied Thomas Bastiani's patch fixing the behaviour of freeglut under X11 when
[freeglut] / src / x11 / fg_ext_x11.c
index d243cfd..925c0d5 100644 (file)
@@ -49,6 +49,7 @@ GLUTproc fgPlatformGetGLUTProcAddress( const char* procName )
 }
 
 
+#ifndef EGL_VERSION_1_0
 SFG_Proc fgPlatformGetProcAddress( const char *procName )
 {
 #if defined( GLX_ARB_get_proc_address )
@@ -57,4 +58,4 @@ SFG_Proc fgPlatformGetProcAddress( const char *procName )
     return NULL;
 #endif
 }
-
+#endif