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:
3
glhr.cpp
3
glhr.cpp
@@ -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) {
|
||||
|
Reference in New Issue
Block a user