aboutsummaryrefslogtreecommitdiff
path: root/platform/windows/context_gl_win.cpp
diff options
context:
space:
mode:
authorreduz2016-12-24 16:23:30 -0300
committerreduz2016-12-24 16:23:30 -0300
commit0d4abf2aa3a336a8a04c83f0576c6b42783ba6e9 (patch)
treeddbbc1aa82a80ccfe7e35a34f34a06cfa1dbb22e /platform/windows/context_gl_win.cpp
parent3adb42e217d29033e0637ae334790aa1d742d194 (diff)
downloadgodot-0d4abf2aa3a336a8a04c83f0576c6b42783ba6e9.tar.gz
godot-0d4abf2aa3a336a8a04c83f0576c6b42783ba6e9.tar.zst
godot-0d4abf2aa3a336a8a04c83f0576c6b42783ba6e9.zip
Diffstat (limited to 'platform/windows/context_gl_win.cpp')
-rw-r--r--platform/windows/context_gl_win.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/windows/context_gl_win.cpp b/platform/windows/context_gl_win.cpp
index 57950d33c..fc6e33f40 100644
--- a/platform/windows/context_gl_win.cpp
+++ b/platform/windows/context_gl_win.cpp
@@ -165,7 +165,7 @@ Error ContextGL_Win::initialize() {
WGL_CONTEXT_MAJOR_VERSION_ARB, 3,//we want a 3.3 context
WGL_CONTEXT_MINOR_VERSION_ARB, 3,
//and it shall be forward compatible so that we can only use up to date functionality
- WGL_CONTEXT_FLAGS_ARB, WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB,
+ WGL_CONTEXT_FLAGS_ARB, WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB/*|WGL_CONTEXT_DEBUG_BIT_ARB*/,
0}; //zero indicates the end of the array
PFNWGLCREATECONTEXTATTRIBSARBPROC wglCreateContextAttribsARB = NULL; //pointer to the method