Scale line-width to match zoom.

This commit is contained in:
Paul Chote
2011-07-22 21:13:14 +12:00
parent fc783ddf80
commit 6183621a72
6 changed files with 24 additions and 0 deletions

View File

@@ -115,6 +115,12 @@ namespace OpenRA.Renderer.Glsl
throw new NotImplementedException();
}
public void SetLineWidth( float width )
{
Gl.glLineWidth(width);
ErrorHandler.CheckGlError();
}
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 ); }