diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-08 17:11:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-08 17:11:06 +0300 |
commit | a80a1c69f8a5f4db88ade16e3b9d53f7b648be47 (patch) | |
tree | d8fe25f8aca2b62f2c93f7eb264eabffa85b8959 /src/graphicsmanager.h | |
parent | c70431d73da9c821cfedbd162c7d2447b7057459 (diff) | |
download | manaplus-a80a1c69f8a5f4db88ade16e3b9d53f7b648be47.tar.gz manaplus-a80a1c69f8a5f4db88ade16e3b9d53f7b648be47.tar.bz2 manaplus-a80a1c69f8a5f4db88ade16e3b9d53f7b648be47.tar.xz manaplus-a80a1c69f8a5f4db88ade16e3b9d53f7b648be47.zip |
Get from video detection texture compression and texture sampler modes.
Diffstat (limited to 'src/graphicsmanager.h')
-rw-r--r-- | src/graphicsmanager.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/graphicsmanager.h b/src/graphicsmanager.h index 51c9a9efc..2373e598f 100644 --- a/src/graphicsmanager.h +++ b/src/graphicsmanager.h @@ -37,6 +37,7 @@ #include "localconsts.h" class Graphics; +class TestMain; struct FBOInfo; @@ -49,9 +50,9 @@ class GraphicsManager final void initGraphics(bool noOpenGL); - int startDetection(); + TestMain *startDetection(); - bool detectGraphics(); + int detectGraphics(); bool supportExtension(const std::string &ext); @@ -83,6 +84,8 @@ class GraphicsManager final void updateLimits(); + void detectVideoSettings(); + Graphics *createGraphics(); void createTextureSampler(); |