diff options
author | Jelle Raaijmakers <jelle@gmta.nl> | 2022-01-12 00:29:54 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-01-12 01:08:38 +0100 |
commit | 90d70479b874afc36dc0f4c9e2fb9d89edda1059 (patch) | |
tree | ec7a50aaeb153f08535edf21816ed03381ad55c7 /Ports | |
parent | c0c72c6b91e5b071c05c64ebfa4808c79bec2a33 (diff) | |
download | serenity-90d70479b874afc36dc0f4c9e2fb9d89edda1059.zip |
Ports: Correct EOL in GLtron patch
The line endings for this patch were inadvertently normalized because
of our old `.gitattributes` rules.
Diffstat (limited to 'Ports')
-rw-r--r-- | Ports/gltron/patches/nebu_video_system_c.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Ports/gltron/patches/nebu_video_system_c.patch b/Ports/gltron/patches/nebu_video_system_c.patch index 48ef399d4d..fc6e54a026 100644 --- a/Ports/gltron/patches/nebu_video_system_c.patch +++ b/Ports/gltron/patches/nebu_video_system_c.patch @@ -1,9 +1,9 @@ --- gltron-0.70/nebu/video/video_system.c 2003-07-21 08:18:57.000000000 +0000 -+++ gltron-0.70-patched/nebu/video/video_system.c 2022-01-10 00:39:53.078575380 +0000 ++++ gltron-0.70-patched/nebu/video/video_system.c 2022-01-11 23:08:04.316789459 +0000 @@ -1,16 +1,17 @@ #include "Nebu_video.h" --#include "SDL.h" +-#include "SDL.h"
+#include "SDL.h" #include "SDL_opengl.h" @@ -40,9 +40,9 @@ fprintf(stderr, "[system] Couldn't set GL mode: %s\n", SDL_GetError()); exit(1); /* OK: critical, no visual */ } -- SDL_WM_SetCaption("GLtron", ""); -- glClearColor(0,0,0,0); -- glClear(GL_COLOR_BUFFER_BIT); +- SDL_WM_SetCaption("GLtron", "");
+- glClearColor(0,0,0,0);
+- glClear(GL_COLOR_BUFFER_BIT);
- SDL_GL_SwapBuffers(); + glcontext = SDL_GL_CreateContext(window); + SDL_SetWindowTitle(window, "GLtron"); |