return false;
}
#else
+static GLXContext last_hGLContext = 0;
if (false == glXMakeCurrent(_pDisplay, _hPBuffer, _hGLContext))
{
dbg_printf( "_MakeCurrent: glXMakeCurrent FAILED! returning false\n");
return false;
}
+
+ if ( last_hGLContext != _hGLContext ) {
+ last_hGLContext = _hGLContext;
+ dbg_printf( "_MakeCurrent: glXMakeCurrent set to [%p] SUCCESS! returning true\n", _hGLContext );
+ }
#endif
return true;
}
return true;
}
-#ifdef _DEBUG
+#if defined( _DEBUG ) && !defined( _WIN32 ) && !defined( __MACH__ )
/* just some DEBUG ONLY code, to show the 'attributes' */
typedef struct tagPXATTS {