project_files/hwc/rtl/misc.h
changeset 15361 5c0479d0ed5b
parent 14159 0aeea29ef890
--- a/project_files/hwc/rtl/misc.h	Sun Aug 25 23:43:46 2019 +0300
+++ b/project_files/hwc/rtl/misc.h	Sun Aug 25 19:39:29 2019 -0600
@@ -5,11 +5,7 @@
 #include <assert.h>
 #include <stdbool.h>
 
-#ifdef EMSCRIPTEN
-#include <GL/gl.h>
-#else
-#include <GL/glew.h>
-#endif
+#include "GL.h"
 
 #define     VA_NUM_ARGS(...)                        VA_NUM_ARGS_IMPL(__VA_ARGS__, 5,4,3,2,1)
 #define     VA_NUM_ARGS_IMPL(_1,_2,_3,_4,_5,N,...)  N
@@ -59,9 +55,4 @@
 string255   fpcrtl_astr2str(const astring s);
 #define     fpcrtl_TypeInfo                         sizeof // dummy
 
-#ifdef EMSCRIPTEN
-#define     GLEW_OK                                 1
-GLenum      glewInit();
 #endif
-
-#endif