Kaydet (Commit) 2ad35523 authored tarafından Michael Meeks's avatar Michael Meeks Kaydeden (comit) Markus Mohrhard

Make it easy to disable OpenGL in the environment.

Change-Id: I9ea0c9f7345e0cbad9ebb51ab724dada7ce77106
üst 999fc135
...@@ -360,7 +360,8 @@ void OpenGLHelper::checkGLError(const char* pFile, size_t nLine) ...@@ -360,7 +360,8 @@ void OpenGLHelper::checkGLError(const char* pFile, size_t nLine)
bool OpenGLHelper::supportsVCLOpenGL() bool OpenGLHelper::supportsVCLOpenGL()
{ {
return true; static bool bDisableGL = !getenv("SAL_DISABLEGL");
return bDisableGL;
} }
#if defined UNX && !defined MACOSX && !defined IOS && !defined ANDROID #if defined UNX && !defined MACOSX && !defined IOS && !defined ANDROID
......
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