mirror of
https://github.com/RGBCube/serenity
synced 2025-07-30 02:07:44 +00:00
Ports: Update Super-Mario's patches to use git patches
This commit is contained in:
parent
6eb071cd0d
commit
cbd76e0531
7 changed files with 117 additions and 41 deletions
|
@ -0,0 +1,33 @@
|
|||
From 4a8e24e824e0de7557ae15414d30a1b49d14ce0d Mon Sep 17 00:00:00 2001
|
||||
From: Manuel Palenzuela <manuelpalenzuelamerino@gmail.com>
|
||||
Date: Sun, 4 Apr 2021 00:41:48 +0200
|
||||
Subject: [PATCH 2/5] Disable graphics acceleration
|
||||
|
||||
Disables SDL2 hardware acceleration as we don't support that.
|
||||
---
|
||||
src/Core.cpp | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/Core.cpp b/src/Core.cpp
|
||||
index c04581b..f0c0308 100644
|
||||
--- a/src/Core.cpp
|
||||
+++ b/src/Core.cpp
|
||||
@@ -36,7 +36,7 @@ CCore::CCore(void) {
|
||||
quitGame = true;
|
||||
}
|
||||
|
||||
- rR = SDL_CreateRenderer(window, -1, SDL_RENDERER_ACCELERATED);
|
||||
+ rR = SDL_CreateRenderer(window, -1, 0);
|
||||
|
||||
// ----- ICO
|
||||
std::string filename = "files/images/ico.bmp";
|
||||
@@ -376,4 +376,4 @@ void CCore::resetMove() {
|
||||
|
||||
Map* CCore::getMap() {
|
||||
return oMap;
|
||||
-}
|
||||
\ No newline at end of file
|
||||
+}
|
||||
--
|
||||
2.36.1
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue