mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 15:44:36 +00:00
nvidia nsight debugger support.
requires defining the TORQUE_NSIGHT_WORKAROUND preprocessor macro
This commit is contained in:
parent
44da177b75
commit
02de4658e5
1 changed files with 3 additions and 0 deletions
|
|
@ -153,6 +153,9 @@ void GFXGLDevice::initGLState()
|
||||||
}
|
}
|
||||||
|
|
||||||
#if TORQUE_DEBUG
|
#if TORQUE_DEBUG
|
||||||
|
#ifdef TORQUE_NSIGHT_WORKAROUND
|
||||||
|
__GLEW_ARB_buffer_storage = false;
|
||||||
|
#endif
|
||||||
if( gglHasExtension(ARB_debug_output) )
|
if( gglHasExtension(ARB_debug_output) )
|
||||||
{
|
{
|
||||||
glEnable(GL_DEBUG_OUTPUT);
|
glEnable(GL_DEBUG_OUTPUT);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue