From a05e06394954cfbc7919a7b490b960128c6166dc Mon Sep 17 00:00:00 2001 From: fredb Date: Mon, 6 Jul 2009 22:58:09 +0000 Subject: [PATCH] Compile when not GLX --- simgear/screen/RenderTexture.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/simgear/screen/RenderTexture.cpp b/simgear/screen/RenderTexture.cpp index aaee155a..328dad1a 100644 --- a/simgear/screen/RenderTexture.cpp +++ b/simgear/screen/RenderTexture.cpp @@ -2780,7 +2780,6 @@ bool RenderTexture::_ReleaseBoundBuffers() * @fn RenderTexture::_MakeCurrent() * @brief Makes the RenderTexture's context current */ -static GLXContext last_hGLContext = 0; bool RenderTexture::_MakeCurrent() { #ifdef _WIN32 @@ -2805,11 +2804,6 @@ bool RenderTexture::_MakeCurrent() return false; } #endif - - if ( last_hGLContext != _hGLContext ) { - last_hGLContext = _hGLContext; - dbg_printf( "_MakeCurrent: glXMakeCurrent set to [%p] SUCCESS! returning true\n", _hGLContext ); - } return true; }