summaryrefslogtreecommitdiff
path: root/src/graphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-10-30 03:46:59 +0300
committerAndrei Karas <akaras@inbox.ru>2011-10-30 03:46:59 +0300
commitece00592ecd93f7a96db0ca82589d00846e2f938 (patch)
treec36bde1e1a46d11ee47438d0debaa8317cd0db6e /src/graphics.h
parentd14bb7a27ee23cc83b3af1db2f1976eaaa55d78a (diff)
parent2c3c118c03ece5cad2b73affffbcbbc5a5746c7a (diff)
downloadplus-ece00592ecd93f7a96db0ca82589d00846e2f938.tar.gz
plus-ece00592ecd93f7a96db0ca82589d00846e2f938.tar.bz2
plus-ece00592ecd93f7a96db0ca82589d00846e2f938.tar.xz
plus-ece00592ecd93f7a96db0ca82589d00846e2f938.zip
Merge branch 'master' into strippedstripped1.1.10.30
Diffstat (limited to 'src/graphics.h')
-rw-r--r--src/graphics.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/graphics.h b/src/graphics.h
index f3e0bd05d..4a4676b26 100644
--- a/src/graphics.h
+++ b/src/graphics.h
@@ -275,6 +275,21 @@ class Graphics : public gcn::SDLGraphics
bool getSecure()
{ return mSecure; }
+ int getBpp()
+ { return mBpp; }
+
+ bool getFullScreen()
+ { return mFullscreen; }
+
+ bool getHWAccel()
+ { return mHWAccel; }
+
+ bool getDoubleBuffer()
+ { return mDoubleBuffer; }
+
+ int getOpenGL()
+ { return mOpenGL; }
+
int mWidth;
int mHeight;
@@ -290,6 +305,7 @@ class Graphics : public gcn::SDLGraphics
bool mDoubleBuffer;
SDL_Rect mRect;
bool mSecure;
+ int mOpenGL;
};
extern Graphics *mainGraphics;