diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-09-13 21:54:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-09-13 21:54:39 +0300 |
commit | 86b19d64c2692665aba33e44ee5db6cbf36b6342 (patch) | |
tree | 93d91c84258f9b76ab29ab51119bbc0044d729a4 /src/graphicsmanager.cpp | |
parent | a45303dc06c74735389607e5b281bb69543547ed (diff) | |
download | manaplus-86b19d64c2692665aba33e44ee5db6cbf36b6342.tar.gz manaplus-86b19d64c2692665aba33e44ee5db6cbf36b6342.tar.bz2 manaplus-86b19d64c2692665aba33e44ee5db6cbf36b6342.tar.xz manaplus-86b19d64c2692665aba33e44ee5db6cbf36b6342.zip |
Add option to select any existing SDL renderer drivers for SDL2 default mode.
Diffstat (limited to 'src/graphicsmanager.cpp')
-rw-r--r-- | src/graphicsmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp index dd730af82..108facc73 100644 --- a/src/graphicsmanager.cpp +++ b/src/graphicsmanager.cpp @@ -620,7 +620,7 @@ SDL_Window *GraphicsManager::createWindow(const int w, const int h, SDL_Renderer *GraphicsManager::createRenderer(SDL_Window *const window, const int flags) { - // +++ need use different drivers and different flags + SDL::setRendererHint(config.getStringValue("sdlDriver")); SDL_Renderer *const renderer = SDL_CreateRenderer(window, -1, flags); SDL_SetRenderDrawBlendMode(renderer, SDL_BLENDMODE_BLEND); return renderer; |