Przeglądaj źródła

glext.h was not included hence the error. Using GLFW3 facility to include it as some OS have OpenGL/xxx other GL/xxx for include file... NASTY!

Godzil 7 lat temu
rodzic
commit
79e43a98e4
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/os/unix/graphics.c

+ 1 - 1
src/os/unix/graphics.c

@@ -18,8 +18,8 @@
 
 #include <os_dependent.h>
 
+#define GLFW_INCLUDE_GLEXT
 #include <GLFW/glfw3.h>
-//#include <OpenGL/glext.h>
 
 #include <palette.h>