diff options
| author | bruvzg | 2018-03-06 15:53:30 +0200 |
|---|---|---|
| committer | bruvzg | 2018-03-06 15:53:30 +0200 |
| commit | ad67911f1a45370558f968cdc1540f707534c28f (patch) | |
| tree | 8ebf5dc57613554bb8652bf29dbff88e12fce976 /platform/x11/context_gl_x11.cpp | |
| parent | 2efd7add4a947b2b5dcab072d1f8ee297735088e (diff) | |
| download | godot-ad67911f1a45370558f968cdc1540f707534c28f.tar.gz godot-ad67911f1a45370558f968cdc1540f707534c28f.tar.zst godot-ad67911f1a45370558f968cdc1540f707534c28f.zip | |
Diffstat (limited to 'platform/x11/context_gl_x11.cpp')
| -rw-r--r-- | platform/x11/context_gl_x11.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/x11/context_gl_x11.cpp b/platform/x11/context_gl_x11.cpp index 7a659a273..1a7cbc0d6 100644 --- a/platform/x11/context_gl_x11.cpp +++ b/platform/x11/context_gl_x11.cpp @@ -170,6 +170,7 @@ Error ContextGL_X11::initialize() { static int context_attribs[] = { GLX_CONTEXT_MAJOR_VERSION_ARB, 3, GLX_CONTEXT_MINOR_VERSION_ARB, 3, + GLX_CONTEXT_PROFILE_MASK_ARB, GLX_CONTEXT_CORE_PROFILE_BIT_ARB, GLX_CONTEXT_FLAGS_ARB, GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB /*|GLX_CONTEXT_DEBUG_BIT_ARB*/, None }; |
