From 5f43cf85c7e59f0e1192f803560848777d64743f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 2 Jul 2011 04:57:16 +0300 Subject: Replace some getters to direct members access in graphics class. --- src/graphics.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/graphics.h') diff --git a/src/graphics.h b/src/graphics.h index e18b58e75..a6e2941d2 100644 --- a/src/graphics.h +++ b/src/graphics.h @@ -263,12 +263,13 @@ class Graphics : public gcn::SDLGraphics bool getRedraw() { return mRedraw; } + int mWidth; + int mHeight; + protected: int SDL_FakeUpperBlit (SDL_Surface *src, SDL_Rect *srcrect, SDL_Surface *dst, SDL_Rect *dstrect); - int mWidth; - int mHeight; int mBpp; bool mFullscreen; bool mHWAccel; -- cgit v1.2.3-60-g2f50