diff options
Diffstat (limited to 'Ports/gltron/patches/ReadMe.md')
-rw-r--r-- | Ports/gltron/patches/ReadMe.md | 34 |
1 files changed, 9 insertions, 25 deletions
diff --git a/Ports/gltron/patches/ReadMe.md b/Ports/gltron/patches/ReadMe.md index 1f3be2e61d..857bff8f53 100644 --- a/Ports/gltron/patches/ReadMe.md +++ b/Ports/gltron/patches/ReadMe.md @@ -1,44 +1,28 @@ # Patches for gltron on SerenityOS -## `0001-Build-Allow-CFLAGS-env-var-to-be-set.patch` - -Build: Allow `CFLAGS` env var to be set - - -## `0002-Build-Replace-lGL-with-lgl-to-reference-our-LibGL.patch` +## `0001-Build-Replace-lGL-with-lgl-to-reference-our-LibGL.patch` Build: Replace `-lGL` with `-lgl` to reference our LibGL -## `0003-Build-Remove-ansi-build-argument.patch` +## `0002-Build-Remove-ansi-build-argument.patch` Build: Remove `-ansi` build argument -## `0004-Build-Fix-char-vs.-const-char-arguments.patch` +## `0003-Build-Fix-char-vs.-const-char-arguments.patch` Build: Fix `char*` vs. `const char*` arguments These arguments are of the wrong constness, which will trip our compiler. -## `0005-Scripting-Fix-default-keybindings.patch` - -Scripting: Fix default keybindings - -These constants referred to the wrong keys. - -## `0006-SDL-Convert-SDL1-to-SDL2.patch` - -SDL: Convert SDL1 to SDL2 - - -## `0007-SDL-Fix-2x-audio-rate-issue.patch` +## `0004-Build-Disable-nebu-using-SDL-s-glext.h-constants.patch` -SDL: Fix 2x audio rate issue +Build: Disable nebu using SDL's glext.h constants -By not passing in an `obtained` struct into `SDL_OpenAudio`, we ask SDL -to perform any sample rate and/or format conversion for us. Previously -GLTron would simply ignore the result in `obtained`, causing the audio -to be played back at 2x speed. +SerenityOS provides glext.h definitions inside GL/gl.h, but the +build process thinks that glext.h doesn't exist, therefore it attempts +to use SDL's definitions, which leads to a conflict. Therefore, disable +use of said definitions. |