Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exeption thrown by glCreateVertexArrays #78

Closed
RustyGuard opened this issue Jul 9, 2019 · 4 comments
Closed

Exeption thrown by glCreateVertexArrays #78

RustyGuard opened this issue Jul 9, 2019 · 4 comments

Comments

@RustyGuard
Copy link

RustyGuard commented Jul 9, 2019

Exception thrown at 0x0000000000000000 in Sandbox.exe: 0xC0000005: Access violation executing location 0x0000000000000000.
At line: 31, at: OpenGLVertexArray.cpp.

This error throws on Debug and Release Windows runs.

@zerolith
Copy link

zerolith commented Jul 9, 2019

check if your Card supports OpenGL 4.5 (I think) this is the minimum for this command. Had to adapt to lower OpenGL version for my Mac adaptation.

@RustyGuard
Copy link
Author

Yes, my card supports OpenGL 3.3. I need to change it.

@RustyGuard
Copy link
Author

But I change glCreateBuffers to glGenBuffers and glCreateVertexArrays to glGenVertexArrays. And all works fine. What gives to us using of new commands?

@LovelySanta
Copy link
Collaborator

LovelySanta commented Jul 9, 2019

This error will be fixed in a future PR. Had this error earlier today as glfw is mismatched by openGL.
These hints will make sure that error won't be thrown in the future.

As cherno said, we will only support openGL 4.5. For more talk, I refer to #67.

@Gaztin Gaztin closed this as completed Jul 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants