Gentoo Archives: gentoo-commits

From: "Julian Ospald (hasufell)" <hasufell@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-strategy/openra/files: openra-20131223-sdl2.patch
Date: Tue, 24 Dec 2013 21:46:28
Message-Id: 20131224214619.511C92001A@flycatcher.gentoo.org
1 hasufell 13/12/24 21:46:19
2
3 Added: openra-20131223-sdl2.patch
4 Log:
5 revbump, rm obsolete cg useflag, fix sdl2 support
6
7 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
8
9 Revision Changes Path
10 1.1 games-strategy/openra/files/openra-20131223-sdl2.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/openra/files/openra-20131223-sdl2.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/openra/files/openra-20131223-sdl2.patch?rev=1.1&content-type=text/plain
14
15 Index: openra-20131223-sdl2.patch
16 ===================================================================
17 From: Julian Ospald <hasufell@g.o>
18 Date: Tue Dec 24 21:10:12 UTC 2013
19 Subject: fix engine detection
20
21 --- a/OpenRA.Game/GameRules/Settings.cs
22 +++ b/OpenRA.Game/GameRules/Settings.cs
23 @@ -83,7 +83,7 @@
24
25 public class GraphicSettings
26 {
27 - public string Renderer = "Gl";
28 + public string Renderer;
29 public WindowMode Mode = WindowMode.PseudoFullscreen;
30 public int2 FullscreenSize = new int2(0,0);
31 public int2 WindowedSize = new int2(1024, 768);
32 --- a/OpenRA.Game/Game.cs
33 +++ b/OpenRA.Game/Game.cs
34 @@ -283,7 +283,7 @@
35 }
36
37 FileSystem.Mount("."); // Needed to access shaders
38 - var renderers = new[] { Settings.Graphics.Renderer, "Sdl2", "Gl", "Cg", null };
39 + var renderers = new[] { "Sdl2", "Gl", "Cg", null };
40 foreach (var r in renderers)
41 {
42 if (r == null)