shader params can stay inside Renderer
This commit is contained in:
@@ -50,10 +50,7 @@ namespace OpenRA.Graphics
|
||||
{
|
||||
Timer.Time( "DrawRegions start" );
|
||||
|
||||
float2 r1 = new float2(2, -2) / screenSize;
|
||||
float2 r2 = new float2(-1, 1);
|
||||
|
||||
renderer.BeginFrame(r1, r2, scrollPosition.ToInt2());
|
||||
renderer.BeginFrame(scrollPosition.ToInt2());
|
||||
world.WorldRenderer.Draw();
|
||||
Timer.Time( "worldRenderer: {0}" );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user