Upgrade to SDL 2.0.3 and latest SDL2-CS (e8731ef).
This commit is contained in:
2
Makefile
2
Makefile
@@ -129,7 +129,7 @@ rsdl2_SRCS := $(shell find OpenRA.Renderer.Sdl2/ -iname '*.cs')
|
||||
rsdl2_TARGET = OpenRA.Renderer.Sdl2.dll
|
||||
rsdl2_KIND = library
|
||||
rsdl2_DEPS = $(fileformats_TARGET) $(game_TARGET) $(rsdl_TARGET) $(rgl_TARGET)
|
||||
rsdl2_LIBS = $(COMMON_LIBS) thirdparty/Tao/Tao.OpenGl.dll thirdparty/SDL2\#.dll $(rsdl2_DEPS)
|
||||
rsdl2_LIBS = $(COMMON_LIBS) thirdparty/Tao/Tao.OpenGl.dll thirdparty/SDL2-CS.dll $(rsdl2_DEPS)
|
||||
|
||||
rnull_SRCS := $(shell find OpenRA.Renderer.Null/ -iname '*.cs')
|
||||
rnull_TARGET = OpenRA.Renderer.Null.dll
|
||||
|
||||
@@ -37,8 +37,8 @@
|
||||
<HintPath>..\thirdparty\Tao\Tao.OpenGl.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="SDL2#">
|
||||
<HintPath>..\thirdparty\SDL2#.dll</HintPath>
|
||||
<Reference Include="SDL2-CS">
|
||||
<HintPath>..\thirdparty\SDL2-CS.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
||||
@@ -28,8 +28,8 @@ rm OpenRA.app/Contents/Resources/Tao.Sdl.*
|
||||
rm OpenRA.app/Contents/Resources/Tao.Cg.*
|
||||
|
||||
# Change the .config to use the packaged SDL
|
||||
sed "s/\/Library\/Frameworks\/SDL2.framework/./" OpenRA.app/Contents/Resources/SDL2\#.dll.config > temp
|
||||
mv temp OpenRA.app/Contents/Resources/SDL2\#.dll.config
|
||||
sed "s/\/Library\/Frameworks\/SDL2.framework/./" OpenRA.app/Contents/Resources/SDL2-CS.dll.config > temp
|
||||
mv temp OpenRA.app/Contents/Resources/SDL2-CS.dll.config
|
||||
rm temp
|
||||
|
||||
# Package app bundle into a zip and clean up
|
||||
|
||||
Binary file not shown.
@@ -51,8 +51,8 @@ cp thirdparty/FuzzyLogicLibrary.dll packaging/built
|
||||
# SharpFont for FreeType support
|
||||
cp thirdparty/SharpFont* packaging/built
|
||||
|
||||
# SDL2#
|
||||
cp thirdparty/SDL2\#* packaging/built
|
||||
# SDL2-CS
|
||||
cp thirdparty/SDL2-CS packaging/built
|
||||
|
||||
# Mono.NAT for UPnP support
|
||||
cp thirdparty/Mono.Nat.dll packaging/built
|
||||
|
||||
BIN
thirdparty/SDL2#.dll
vendored
BIN
thirdparty/SDL2#.dll
vendored
Binary file not shown.
BIN
thirdparty/SDL2-CS.dll
vendored
Executable file
BIN
thirdparty/SDL2-CS.dll
vendored
Executable file
Binary file not shown.
@@ -16,7 +16,7 @@
|
||||
<dllmap dll="SDL2_ttf.dll" os="osx" target="libSDL2_ttf-2.0.0.dylib"/>
|
||||
<dllmap dll="SDL2_ttf.dll" os="linux" target="libSDL2_ttf-2.0.so.0"/>
|
||||
|
||||
<dllmap dll="openal32.dll" os="windows" target="openal32.dll"/>
|
||||
<dllmap dll="openal32.dll" os="osx" target="libopenal.1.dylib"/>
|
||||
<dllmap dll="openal32.dll" os="linux" target="libopenal.so.1"/>
|
||||
<dllmap dll="soft_oal.dll" os="windows" target="soft_oal.dll"/>
|
||||
<dllmap dll="soft_oal.dll" os="osx" target="libopenal.1.dylib"/>
|
||||
<dllmap dll="soft_oal.dll" os="linux" target="libopenal.so.1"/>
|
||||
</configuration>
|
||||
Reference in New Issue
Block a user