mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Merge pull request #1668 from Azaezel/revisedNsightWorkaround
revised torque_nsight_workaround
This commit is contained in:
commit
35c4df3066
|
|
@ -66,7 +66,11 @@ void GFXGLCardProfiler::setupCardCapabilities()
|
|||
setCapability("GL_EXT_texture_filter_anisotropic", gglHasExtension(EXT_texture_filter_anisotropic));
|
||||
|
||||
// Check for buffer storage
|
||||
#ifdef TORQUE_NSIGHT_WORKAROUND
|
||||
setCapability("GL_ARB_buffer_storage", false);
|
||||
#else
|
||||
setCapability("GL_ARB_buffer_storage", gglHasExtension(ARB_buffer_storage));
|
||||
#endif
|
||||
|
||||
// Check for shader model 5.0
|
||||
setCapability("GL_ARB_gpu_shader5", gglHasExtension(ARB_gpu_shader5));
|
||||
|
|
|
|||
|
|
@ -165,9 +165,6 @@ void GFXGLDevice::initGLState()
|
|||
glBindFramebuffer = &_t3d_glBindFramebuffer;
|
||||
}
|
||||
|
||||
#ifdef TORQUE_NSIGHT_WORKAROUND
|
||||
__GLEW_ARB_buffer_storage = false;
|
||||
#endif
|
||||
#if TORQUE_DEBUG
|
||||
if( gglHasExtension(ARB_debug_output) )
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue