From 2cc21176467d4501adb7bfb9ee03eb9a2a7d14f2 Mon Sep 17 00:00:00 2001 From: majortom6 Date: Sun, 19 Feb 2017 08:06:37 -0600 Subject: -removed all references to sdl_rect and location and now everything now uses our own class rectangle -standardization of tab spaces to 8 is now in effect -refractoring of graphicsobjects.hpp --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index e385f9f..eb4438f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -55,10 +55,10 @@ int main() shader.Bind(); _spriteBatch.begin(); for(std::list::iterator it = L.C.begin(); it != L.C.end(); it++) - _spriteBatch.draw(it->gfxData);; + _spriteBatch.draw(it->getGFXD());; for(std::list::iterator it = L.R.begin(); it != L.R.end(); it++) - _spriteBatch.draw(it->gfxData);; + _spriteBatch.draw(it->getGFXD());; _spriteBatch.end(); _spriteBatch.renderBatch(); -- cgit v1.2.3