#include "print.h"
#include "../../include/keycodes.h"
#include "sdl.h"
-
#include <SDL2/SDL.h>
-#define GL3_PROTOTYPES 1
+#define GLEW_STATIC
#include <GL/glew.h>
static int sdl_initialized = 0;
// continue anyway
}
-// seems like a hack to me. do we need this?
#ifndef __APPLE__
-#if !defined(_WIN32)
glewExperimental = GL_TRUE;
if (glewInit() != GLEW_OK) {
print_error("Failed to init GLEW\n");
goto error;
}
#endif
-#endif
/* just in case */
glDisable(GL_DEPTH_TEST);