unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 8182e582e70d6564244ba16c7d73d5fab23e1060 679 bytes (raw)
name: patches/sdl2-mesa-compat.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
 
Do not include GLES header when OpenGL headers are already included.

Taken from upstream:
https://hg.libsdl.org/SDL/rev/369b01006eb2

diff -r 4cbaffd0083b -r 369b01006eb2 src/video/SDL_video.c
--- a/src/video/SDL_video.c	Fri Oct 11 06:18:24 2019 +0200
+++ b/src/video/SDL_video.c	Sat Oct 12 18:47:56 2019 +0200
@@ -37,9 +37,9 @@
 #include "SDL_opengl.h"
 #endif /* SDL_VIDEO_OPENGL */
 
-#if SDL_VIDEO_OPENGL_ES
+#if SDL_VIDEO_OPENGL_ES && !SDL_VIDEO_OPENGL
 #include "SDL_opengles.h"
-#endif /* SDL_VIDEO_OPENGL_ES */
+#endif /* SDL_VIDEO_OPENGL_ES && !SDL_VIDEO_OPENGL */
 
 /* GL and GLES2 headers conflict on Linux 32 bits */
 #if SDL_VIDEO_OPENGL_ES2 && !SDL_VIDEO_OPENGL


debug log:

solving 8182e582e70d6564244ba16c7d73d5fab23e1060 ...
found 8182e582e70d6564244ba16c7d73d5fab23e1060 in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).