Remove legacy SetLineWidth methods.

This commit is contained in:
Paul Chote
2015-12-26 13:51:30 +00:00
parent be29ec5342
commit 74fb9bbfbb
4 changed files with 0 additions and 14 deletions

View File

@@ -64,7 +64,6 @@ namespace OpenRA
bool SetClipboardText(string text);
void DrawPrimitives(PrimitiveType type, int firstVertex, int numVertices);
void SetLineWidth(float width);
void EnableScissor(int left, int top, int width, int height);
void DisableScissor();

View File

@@ -173,11 +173,6 @@ namespace OpenRA
CurrentBatchRenderer = null;
}
public void SetLineWidth(float width)
{
Device.SetLineWidth(width);
}
public Size Resolution { get { return Device.WindowSize; } }
public interface IBatchRenderer { void Flush(); }

View File

@@ -331,13 +331,6 @@ namespace OpenRA.Platforms.Default
ErrorHandler.CheckGlError();
}
public void SetLineWidth(float width)
{
VerifyThreadAffinity();
GL.LineWidth(width);
ErrorHandler.CheckGlError();
}
public Bitmap TakeScreenshot()
{
var rect = new Rectangle(Point.Empty, WindowSize);

View File

@@ -50,7 +50,6 @@ namespace OpenRA.Platforms.Null
}
public void DrawPrimitives(PrimitiveType pt, int firstVertex, int numVertices) { }
public void SetLineWidth(float width) { }
public IVertexBuffer<Vertex> CreateVertexBuffer(int size) { return new NullVertexBuffer<Vertex>(); }
public ITexture CreateTexture() { return new NullTexture(); }