Commit af4f5778 authored by Stéphane Albert's avatar Stéphane Albert

ENH: Added pre-processor definition to force GLSL disabled (simulates remote-desktop environment).

parent 65262f12
......@@ -103,6 +103,8 @@ namespace mvd
#define REFERENCE_LAYER_COMBOBOX_NAME "referenceLayerComboBox"
#define FORCE_NO_GLSL ( ( defined( _DEBUG ) && 0 ) || 0 )
/*****************************************************************************/
/* STATIC IMPLEMENTATION SECTION */
......@@ -181,6 +183,12 @@ MainWindow
bool isGLSL = m_ImageView->GetRenderer()->CheckGLCapabilities( &m_GLSL140 );
#if FORCE_NO_GLSL
m_ImageView->GetRenderer()->SetGLSLEnabled( false );
isGLSL = false;
#endif // FORCE_NO_GLSL
// MANTIS-1204
// {
//
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment