On Sunday, 29 March 2015 at 01:27:01 UTC, Koi wrote:
Hello,

today i implemented OpenGL instancing, and it crashed when calling glVertexAttribDivisor (OpenGL 3.3).

So i checked DerelictGL3.reload() and it returned GLVersion.GL32, not GL33.

My graphic card (NVidia GT 240) should support GL33 and an OpenGL Extensions Viewer tool confirmed, that it supports OpenGL 3.3 fully.

Did i overlook something?

How do you create your context? OpenGL version needs to be specified when creating it, for example when using GLFW:

glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);

auto windowHandle = glfwCreateWindow(...);

Reply via email to