LWJGL Forum

Programming => OpenGL => Topic started by: AlKupone on August 02, 2017, 21:31:29

Title: EXCEPTION_ACCESS_VIOLATION (0xc0000005) when using GL30.glGenVertexArrays()
Post by: AlKupone on August 02, 2017, 21:31:29
Hi,

I've this infamous issue everytime I try to create a VAO using GL30.glGenVertexArrays().
When I include this methods glfwWindowHint(GLFW_OPENGL_DEBUG_CONTEXT, GLFW_TRUE) and GLUtil.setupDebugMessageCallback(), my program works and I don't understand why. Are these methods necessary for the program to be executable? I attached the last log file for more information.

Thanks for the help!
Title: Re: EXCEPTION_ACCESS_VIOLATION (0xc0000005) when using GL30.glGenVertexArrays()
Post by: spasi on August 02, 2017, 21:48:59
Please post a single-file Minimal, Complete and Verifiable Example (https://stackoverflow.com/help/mcve) which demonstrates the issue, or a trace using LWJGLX/debug (https://github.com/LWJGLX/debug).