Rename IGraphicsDevice to IPlatformWindow.

This commit is contained in:
Paul Chote
2018-06-05 19:07:26 +00:00
parent 72c0e344ad
commit 28c8089bc7
6 changed files with 11 additions and 11 deletions

View File

@@ -17,7 +17,7 @@ namespace OpenRA
{
public interface IPlatform
{
IGraphicsDevice CreateGraphics(Size size, WindowMode windowMode);
IPlatformWindow CreateWindow(Size size, WindowMode windowMode);
ISoundEngine CreateSound(string device);
}
@@ -34,7 +34,7 @@ namespace OpenRA
DoubleMultiplicative
}
public interface IGraphicsDevice : IDisposable
public interface IPlatformWindow : IDisposable
{
IVertexBuffer<Vertex> CreateVertexBuffer(int length);
ITexture CreateTexture(Bitmap bitmap);