mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:57:35 +00:00
Ports: Correct EOL in GLtron patch
The line endings for this patch were inadvertently normalized because of our old `.gitattributes` rules.
This commit is contained in:
parent
c0c72c6b91
commit
90d70479b8
1 changed files with 5 additions and 5 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue