Skip to content
Snippets Groups Projects
Commit af4f5778 authored by Stéphane Albert's avatar Stéphane Albert
Browse files

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

parent 65262f12
No related branches found
Tags mvd-3.2.0-rc1
No related merge requests found
......@@ -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
// {
//
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment