From 853c159257d36ff9af865908bfb17a53aab9c5f0 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Thu, 25 Dec 2014 19:32:55 +0300 Subject: [PATCH] No need to use accessors here --- SDL2pp/Renderer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SDL2pp/Renderer.cc b/SDL2pp/Renderer.cc index 743517e..7c2ccef 100644 --- a/SDL2pp/Renderer.cc +++ b/SDL2pp/Renderer.cc @@ -108,7 +108,7 @@ void Renderer::DrawPoint(int x, int y) { } void Renderer::DrawPoint(const Point& p) { - DrawPoint(p.GetX(), p.GetY()); + DrawPoint(p.x, p.y); } void Renderer::DrawPoints(const Point* points, int count) {