diff --git a/src/render_ogl.c b/src/render_ogl.c index 2400e4d..0e033d1 100644 --- a/src/render_ogl.c +++ b/src/render_ogl.c @@ -70,6 +70,7 @@ static HGLRC ogl_create_core_context(HDC hdc) int attribs[] = { WGL_CONTEXT_MAJOR_VERSION_ARB, 3, WGL_CONTEXT_MINOR_VERSION_ARB, 2, + WGL_CONTEXT_FLAGS_ARB, WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB, WGL_CONTEXT_PROFILE_MASK_ARB, WGL_CONTEXT_CORE_PROFILE_BIT_ARB, 0 };