From 57a98258aa3be553038d01f580a71442da3d960b Mon Sep 17 00:00:00 2001 From: Ali Mohammad Pur Date: Mon, 16 May 2022 19:21:30 +0430 Subject: [PATCH] Ports: Update chester's patches to use git patches --- ...=> 0001-Disable-SDL-accelerated-rendering.patch} | 13 +++++++++++++ Ports/chester/patches/ReadMe.md | 8 ++++++++ 2 files changed, 21 insertions(+) rename Ports/chester/patches/{disable_opengl.patch => 0001-Disable-SDL-accelerated-rendering.patch} (72%) create mode 100644 Ports/chester/patches/ReadMe.md diff --git a/Ports/chester/patches/disable_opengl.patch b/Ports/chester/patches/0001-Disable-SDL-accelerated-rendering.patch similarity index 72% rename from Ports/chester/patches/disable_opengl.patch rename to Ports/chester/patches/0001-Disable-SDL-accelerated-rendering.patch index 83c037a44e..205558a1d9 100644 --- a/Ports/chester/patches/disable_opengl.patch +++ b/Ports/chester/patches/0001-Disable-SDL-accelerated-rendering.patch @@ -1,3 +1,13 @@ +From e04b0fad889f05382a80fd5ac4bd3561afb1c058 Mon Sep 17 00:00:00 2001 +From: Manuel Palenzuela +Date: Tue, 30 Mar 2021 17:26:39 +0200 +Subject: [PATCH] Disable SDL accelerated rendering + +That's not supported on serenity. +--- + src/app/main.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + diff --git a/src/app/main.c b/src/app/main.c index cfd46b8..fc47912 100644 --- a/src/app/main.c @@ -20,3 +30,6 @@ index cfd46b8..fc47912 100644 if (sdl_graphics_ptr->renderer == NULL) { +-- +2.36.1 + diff --git a/Ports/chester/patches/ReadMe.md b/Ports/chester/patches/ReadMe.md new file mode 100644 index 0000000000..3f4b7db319 --- /dev/null +++ b/Ports/chester/patches/ReadMe.md @@ -0,0 +1,8 @@ +# Patches for chester on SerenityOS + +## `0001-Disable-SDL-accelerated-rendering.patch` + +Disable SDL accelerated rendering + +That's not supported on serenity. +