Add SDL2 renderer based on SDL2# wrapper. Closes #3315.

SDL2# binary was built from commit 70af91f84493a924a3c1da46ae6209bb5f7222e3.
This commit is contained in:
Paul Chote
2013-10-30 20:41:16 +13:00
parent 71c6124c10
commit b1a60eface
10 changed files with 873 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ namespace OpenRA.Renderer.Glsl
readonly Dictionary<int, ITexture> textures = new Dictionary<int, ITexture>();
int program;
public Shader(GraphicsDevice dev, string name)
public Shader(string name)
{
// Vertex shader
string vertexCode;