Expose FBOs to engine code.

This commit is contained in:
Paul Chote
2013-06-07 22:20:19 +12:00
parent 0e1c12131a
commit 4c8c010506
7 changed files with 145 additions and 2 deletions

View File

@@ -194,6 +194,7 @@ namespace OpenRA.Renderer.SdlCommon
public IVertexBuffer<Vertex> CreateVertexBuffer(int size) { return new VertexBuffer<Vertex>(size); }
public ITexture CreateTexture() { return new Texture(); }
public ITexture CreateTexture(Bitmap bitmap) { return new Texture(bitmap); }
public IFrameBuffer CreateFrameBuffer(Size s) { return new FrameBuffer(s); }
public abstract IShader CreateShader(string name);
}
}