Browse Source

Fixed mingw build issue with sdl2 not finding <EGL/egl.h>.

Mark Sibly 7 years ago
parent
commit
266348dba0

+ 5 - 0
modules/opengl/autogen/bbopengl_.monkey2

@@ -5,12 +5,17 @@ Namespace opengl
 
 #If __TARGET__="windows"
 
+	'TODO: Move all angle stuff to SDL2 or its own module?
+	'
 	#Import "../angle/lib/libEGL.lib"
 '	#Import "../angle/lib/libGLESv2.lib"
 
 	#Import "../angle/bin/libEGL.dll"
 	#Import "../angle/bin/libGLESv2.dll"
 	#Import "../angle/bin/d3dcompiler_47.dll"
+
+	'Need this so SDL2 can #include <EGL/egl.h>
+	#Import "../angle/include/*.h"	
 	
 '	#include <GL/gl.h>	
 

+ 2 - 0
modules/opengl/native/bbopengl.monkey2

@@ -12,6 +12,8 @@ Namespace opengl
 	#Import "../angle/bin/libGLESv2.dll"
 	#Import "../angle/bin/d3dcompiler_47.dll"
 	
+	#Import "../angle/include/*.h"
+	
 '	#include <GL/gl.h>	
 
 	#Import "bbopengl.c"