diff options
-rw-r--r-- | x11-toolkits/plib/files/patch-src::ssg::ssg.cxx | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/x11-toolkits/plib/files/patch-src::ssg::ssg.cxx b/x11-toolkits/plib/files/patch-src::ssg::ssg.cxx new file mode 100644 index 000000000000..fe2f93117904 --- /dev/null +++ b/x11-toolkits/plib/files/patch-src::ssg::ssg.cxx @@ -0,0 +1,31 @@ +--- src/ssg/ssg.cxx.orig Mon Mar 3 11:25:56 2003 ++++ src/ssg/ssg.cxx Mon Mar 3 11:27:40 2003 +@@ -35,6 +35,7 @@ + # endif + #endif + ++#if 0 + static bool glIsValidContext ( void ) + { + #if defined(CONSOLE) +@@ -49,6 +50,7 @@ + return ( glXGetCurrentContext () != NULL ) ; + #endif + } ++#endif + + sgMat4 _ssgOpenGLAxisSwapMatrix = + { +@@ -105,10 +107,12 @@ + + void ssgInit () + { ++#if 0 + if ( ! glIsValidContext () ) + { + ulSetError ( UL_FATAL, "ssgInit called without a valid OpenGL context."); + } ++#endif + + ssgTexturePath ( "." ) ; + ssgModelPath ( "." ) ; |