nvidia nsight debugger support.

requires defining the TORQUE_NSIGHT_WORKAROUND preprocessor macro
This commit is contained in:
Azaezel 2015-02-12 14:31:10 -06:00
parent 44da177b75
commit 02de4658e5

View file

@ -153,6 +153,9 @@ void GFXGLDevice::initGLState()
}
#if TORQUE_DEBUG
#ifdef TORQUE_NSIGHT_WORKAROUND
__GLEW_ARB_buffer_storage = false;
#endif
if( gglHasExtension(ARB_debug_output) )
{
glEnable(GL_DEBUG_OUTPUT);