Dgame revived
Namespace via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Sun Feb 22 14:49:14 PST 2015
> Stackoverflow says it is possible. One guy's fix was something
> like:
> glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
> glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
> glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
> glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE);
>
> Cause apparently it supports it.
Ok, you could try to use something identical in the Window
constructor:
https://github.com/Dgame/Dgame/blob/master/Window/Window.d#L124
----
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 3);
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 0);
----
More information about the Digitalmars-d-announce
mailing list