Cross compile with MinGW-W64
[mercenary-reloaded.git] / src / libsdl / sdl.c
index 45f859d..14e5440 100644 (file)
@@ -114,13 +114,16 @@ int init_sdl(const char *progname, int width, int height, int sound_samplerate,
                // 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);