Преглед на файлове

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

Mark Sibly преди 7 години
родител
ревизия
266348dba0
променени са 2 файла, в които са добавени 7 реда и са изтрити 0 реда
  1. 5 0
      modules/opengl/autogen/bbopengl_.monkey2
  2. 2 0
      modules/opengl/native/bbopengl.monkey2

+ 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"