mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
8b83b96c1b
found. However, due to bugs in some versions of Mesa, it sometimes fails even when a context exists. Temporarily disable the context checks until we get a working version of Mesa.
32 lines
567 B
C++
32 lines
567 B
C++
--- 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 ( "." ) ;
|