mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-22 09:21:57 -05:00
22 lines
930 B
Diff
22 lines
930 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Julian=20Offenh=C3=A4user?= <offenhaeuser@protonmail.com>
|
|
Date: Sat, 11 Feb 2023 00:34:13 +0100
|
|
Subject: [PATCH] Create SDL2 renderer as unaccelerated
|
|
|
|
---
|
|
gemrb/plugins/SDLVideo/SDL20Video.cpp | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/gemrb/plugins/SDLVideo/SDL20Video.cpp b/gemrb/plugins/SDLVideo/SDL20Video.cpp
|
|
index 8d906ec6066cac11a91ebcc372810b3e0a4f71db..741f4085458a6b7cc03c7613e8fa93beb7a60a2d 100644
|
|
--- a/gemrb/plugins/SDLVideo/SDL20Video.cpp
|
|
+++ b/gemrb/plugins/SDLVideo/SDL20Video.cpp
|
|
@@ -171,7 +171,7 @@ int SDL20VideoDriver::CreateSDLDisplay(const char* title, bool vsync)
|
|
SetWindowIcon(window);
|
|
#endif
|
|
|
|
- int rendererFlags = SDL_RENDERER_TARGETTEXTURE | SDL_RENDERER_ACCELERATED;
|
|
+ int rendererFlags = SDL_RENDERER_TARGETTEXTURE;
|
|
if (vsync) {
|
|
rendererFlags |= SDL_RENDERER_PRESENTVSYNC;
|
|
}
|