mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4982 Preferences : Move Use Shaders to development tab
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user