summaryrefslogtreecommitdiff
path: root/src/game/GameView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/GameView.cpp')
-rw-r--r--src/game/GameView.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/GameView.cpp b/src/game/GameView.cpp
index 7e34b85..a35f524 100644
--- a/src/game/GameView.cpp
+++ b/src/game/GameView.cpp
@@ -1206,7 +1206,7 @@ void GameView::OnDraw()
{
finalCurrentMouse = rectSnapCoords(c->PointTranslate(drawPoint1), finalCurrentMouse);
}
- activeBrush->RenderRect(g, c->PointTranslate(drawPoint1), finalCurrentMouse);
+ activeBrush->RenderRect(ren, c->PointTranslate(drawPoint1), finalCurrentMouse);
}
else if(drawMode==DrawLine && isMouseDown)
{
@@ -1214,15 +1214,15 @@ void GameView::OnDraw()
{
finalCurrentMouse = lineSnapCoords(c->PointTranslate(drawPoint1), finalCurrentMouse);
}
- activeBrush->RenderLine(g, c->PointTranslate(drawPoint1), finalCurrentMouse);
+ activeBrush->RenderLine(ren, c->PointTranslate(drawPoint1), finalCurrentMouse);
}
else if(drawMode==DrawFill)
{
- activeBrush->RenderFill(g, finalCurrentMouse);
+ activeBrush->RenderFill(ren, finalCurrentMouse);
}
else
{
- activeBrush->RenderPoint(g, finalCurrentMouse);
+ activeBrush->RenderPoint(ren, finalCurrentMouse);
}
}
ren->RenderEnd();