#4982 Preferences : Move Use Shaders to development tab

This commit is contained in:
Magne Sjaastad
2019-11-06 11:10:33 +01:00
parent be1781fd3b
commit 2aa704b18a
3 changed files with 26 additions and 6 deletions

View File

@@ -539,7 +539,7 @@ RimViewWindow* RiaGuiApplication::activePlotWindow() const
//--------------------------------------------------------------------------------------------------
bool RiaGuiApplication::useShaders() const
{
if ( !m_preferences->useShaders ) return false;
if ( !m_preferences->useShaders() ) return false;
bool isShadersSupported = caf::Viewer::isShadersSupported();
if ( !isShadersSupported ) return false;