summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphicsmanager.cpp')
-rw-r--r--src/graphicsmanager.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp
index fb1ce3a32..d39af895d 100644
--- a/src/graphicsmanager.cpp
+++ b/src/graphicsmanager.cpp
@@ -374,7 +374,9 @@ SDL_Renderer *GraphicsManager::createRenderer(SDL_Window *const window,
const int flags)
{
// +++ need use different drivers and different flags
- return SDL_CreateRenderer(window, -1, flags);
+ SDL_Renderer *const renderer = SDL_CreateRenderer(window, -1, flags);
+ SDL_SetRenderDrawBlendMode(renderer, SDL_BLENDMODE_BLEND);
+ return renderer;
}
#endif