mirror of https://github.com/buggins/dlangui.git
Accidental _OPENGL_ENABLED value change.
This commit is contained in:
parent
3dc4d6679a
commit
9c0eaec5af
|
@ -1794,7 +1794,7 @@ class Platform {
|
|||
}
|
||||
|
||||
static if (ENABLE_OPENGL) {
|
||||
private __gshared bool _OPENGL_ENABLED = false;
|
||||
private __gshared bool _OPENGL_ENABLED = true;
|
||||
/// check if hardware acceleration is enabled
|
||||
@property bool openglEnabled() { return _OPENGL_ENABLED; }
|
||||
/// call on app initialization if OpenGL support is detected
|
||||
|
|
Loading…
Reference in New Issue