LWJGL Forum

Programming => OpenGL => Topic started by: hydos06 on May 11, 2019, 06:12:59

Title: getting error i dont understand why
Post by: hydos06 on May 11, 2019, 06:12:59
i was making a game with lwjgl and i got this while i was working on a new renderer for guis
https://pastebin.com/LNDKF2b6 (https://pastebin.com/LNDKF2b6)
any help with why this is happening would be nice :)
Title: Re: getting error i dont understand why
Post by: hydos06 on May 11, 2019, 06:37:55
ive done some research and the error occurs at
int vaoID = GL30.glGenVertexArrays();
Title: Re: getting error i dont understand why
Post by: spasi on May 11, 2019, 10:38:21
Most likely reason is that glGenVertexArrays is not available in the current context. If you update to a later LWJGL version, you should see a message related to this. You could also try LWJGLX/debug (https://github.com/LWJGLX/debug), it will help with discovering and resolving issues.