diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-03-02 17:17:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-03-02 17:58:42 +0300 |
commit | 1933978cb800c2348e8891c69b28e85c9417b32d (patch) | |
tree | 955fc9530dcd4ed4ecb60ad9c38e213c77610d6d /src/game.cpp | |
parent | 2f3a3d08b0ba71972e20ae639a2077e9d4d17b94 (diff) | |
download | manaplus-1933978cb800c2348e8891c69b28e85c9417b32d.tar.gz manaplus-1933978cb800c2348e8891c69b28e85c9417b32d.tar.bz2 manaplus-1933978cb800c2348e8891c69b28e85c9417b32d.tar.xz manaplus-1933978cb800c2348e8891c69b28e85c9417b32d.zip |
Use FBO for screenshots. Disabled for windows.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp index 70d794ce8..39d38ac5c 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -461,6 +461,7 @@ static bool saveScreenshot() if (!config.getBoolValue("showip")) { mainGraphics->setSecure(true); + mainGraphics->prepareScreenshot(); gui->draw(); screenshot = mainGraphics->getScreenshot(); mainGraphics->setSecure(false); |