shader params can stay inside Renderer

This commit is contained in:
Paul Chote
2010-08-24 23:08:10 +12:00
parent 95c34c30ba
commit e4271b35dc
3 changed files with 6 additions and 9 deletions

View File

@@ -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}" );