Browse Source

WIP x64 support for windows.

Mark Sibly 7 years ago
parent
commit
d40ff6656c
2 changed files with 22 additions and 1 deletions
  1. 10 1
      modules/openal/openal.monkey2
  2. 12 0
      modules/opengl/native/bbopengl.monkey2

+ 10 - 1
modules/openal/openal.monkey2

@@ -3,9 +3,18 @@
 
 #if __TARGET__="windows"
 
+#If __ARCH__="x86"
+
 	#Import "openal-soft/bin/OpenAL32.dll"
 	#Import "openal-soft/lib/OpenAL32.lib"
-		
+
+#Elseif __ARCH__="x64"
+
+	#Import "openal-soft/bin/x64/OpenAL32.dll"
+	#Import "openal-soft/lib/x64/OpenAL32.lib"
+	
+#endif
+
 	#Import "openal-soft/include/*.h"
 	#Import "<AL/al.h>"
 	#Import "<AL/alc.h>"

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

@@ -5,6 +5,8 @@ Namespace opengl
 
 #If __TARGET__="windows"
 
+#If __ARCH__="x86"
+
 	#Import "../angle/lib/libEGL.lib"
 '	#Import "../angle/lib/libGLESv2.lib"
 
@@ -12,6 +14,16 @@ Namespace opengl
 	#Import "../angle/bin/libGLESv2.dll"
 	#Import "../angle/bin/d3dcompiler_47.dll"
 	
+#Elseif __ARCH__="x64"
+
+	#Import "../angle/lib/x64/libEGL.lib"
+'	#Import "../angle/lib/libGLESv2.lib"
+
+	#Import "../angle/bin/x64/libEGL.dll"
+	#Import "../angle/bin/x64/libGLESv2.dll"
+	#Import "../angle/bin/x64/d3dcompiler_47.dll"
+	
+#endif	
 	#Import "../angle/include/*.h"
 	
 '	#include <GL/gl.h>