1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-30 01:07:57 +00:00

fixed SDL2 (with GLEW) on Windows

This commit is contained in:
Zeno Rogue
2022-06-10 18:45:15 +02:00
parent 3fa23afdce
commit 91b6628922
2 changed files with 20 additions and 2 deletions

View File

@@ -153,7 +153,7 @@ struct glmatrix {
#endif
bool glew = false;
EX bool glew = false;
bool current_depthtest, current_depthwrite;
ld fogbase;
@@ -697,6 +697,7 @@ void init() {
#if CAP_GLEW
if(!glew) {
glew = true;
glewExperimental = GL_TRUE;
printf("Initializing GLEW\n");
GLenum err = glewInit();
if (GLEW_OK != err) {