Browse Source

Merge pull request #1190 from Azaezel/TORQUE_NSIGHT_WORKAROUND

nvidia nsight debugger support.
Luis Anton Rebollo 10 years ago
parent
commit
24c11eb51c
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Engine/source/gfx/gl/gfxGLDevice.cpp

+ 3 - 0
Engine/source/gfx/gl/gfxGLDevice.cpp

@@ -152,6 +152,9 @@ void GFXGLDevice::initGLState()
       glBindFramebuffer = &_t3d_glBindFramebuffer;
       glBindFramebuffer = &_t3d_glBindFramebuffer;
    }
    }
 
 
+#ifdef TORQUE_NSIGHT_WORKAROUND
+   __GLEW_ARB_buffer_storage = false;
+#endif
 #if TORQUE_DEBUG
 #if TORQUE_DEBUG
    if( gglHasExtension(ARB_debug_output) )
    if( gglHasExtension(ARB_debug_output) )
    {
    {