From e1cacb5f675b782ba1cfee8906c78ec7793807c8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 21 Aug 2013 21:47:18 +0300 Subject: rename target in graphics into window. --- src/graphics.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src/graphics.h') diff --git a/src/graphics.h b/src/graphics.h index 9365af4ec..c269dc540 100644 --- a/src/graphics.h +++ b/src/graphics.h @@ -25,6 +25,8 @@ #include "SDL.h" +#include "sdlshared.h" + #include #include @@ -102,11 +104,11 @@ class Graphics : public gcn::Graphics */ virtual ~Graphics(); - void setTarget(SDL_Surface *const target) - { mTarget = target; } + void setWindow(SDL_Window *const window) + { mWindow = window; } - SDL_Surface *getTarget() const - { return mTarget; } + SDL_Window *getWindow() const + { return mWindow; } /** * Sets whether vertical refresh syncing is enabled. Takes effect after @@ -384,7 +386,7 @@ class Graphics : public gcn::Graphics bool videoInfo(); - SDL_Surface* mTarget; + SDL_Window* mWindow; int mBpp; bool mAlpha; bool mFullscreen; -- cgit v1.2.3-60-g2f50