[Solved]GLES3 crashing on glEnable(GL_CULL_FACE) only on Windows 10


Hi, I am making game called Death-Mask, here is source code:

Everything works on Linux, but I can’t make it run on Windows.

Problem that I got crash on glEnable(GL_CULL_FACE); after success initializing OpenGL Context by SDL_GL_CreateContext.
I am using Adreno SDK for OpenGL ES on Windows.
I am wondering if it’s even possible to mix Adreno SDK OpenGL ES library (or any other OGLES library) with SDL2 OpenGL Context initializing on Windows?

error code:

Exception thrown at 0x00000000 in DeathMask.exe: 0xC0000005: Access violation executing location 0x00000000.


Got it work - I just use GLEW and OpenGL32.lib right now, instead of adreno sdk for Windows.