Skip to content

Instantly share code, notes, and snippets.

@redj
Created May 2, 2019 11:05
Show Gist options
  • Save redj/e40a7899e08dc3693cb3982afc42db69 to your computer and use it in GitHub Desktop.
Save redj/e40a7899e08dc3693cb3982afc42db69 to your computer and use it in GitHub Desktop.
diff --git a/ecere/src/gfx/drivers/gl3/gl123es.h b/ecere/src/gfx/drivers/gl3/gl123es.h
index 3f00465b4..72eff26dc 100644
--- a/ecere/src/gfx/drivers/gl3/gl123es.h
+++ b/ecere/src/gfx/drivers/gl3/gl123es.h
@@ -19,6 +19,10 @@
#define glMapBuffer _ptrc_glMapBuffer
extern void * (* _ptrc_glMapBuffer)(GLenum, GLenum);
+
+ #define GL_FILL 0x1B02
+ #define GL_LINE 0x1B01
+
#else
#include <GLES3/gl3.h>
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment