blob: e2b968fbf81bd80227122ec50b23a0b806681168 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
https://bugs.gentoo.org/944028
https://github.com/ArtifexSoftware/mupdf/commit/11b1b948ac52d3b9b70813e642368721d4518630
From aaf110d35ea191ef75407e6af6c9d142c123b6ad Mon Sep 17 00:00:00 2001
From: Tor Andersson <tor@ccxvii.net>
Date: Tue, 26 Nov 2024 20:16:35 +0100
Subject: [PATCH] egl: fix fgPlatformDestroyContext prototype for C23
C23 removes unprototyped functions, so this conflicted with the definition
in fg_init_x11.c.
--- a/thirdparty/freeglut/src/egl/fg_init_egl.h
+++ b/thirdparty/freeglut/src/egl/fg_init_egl.h
@@ -28,6 +28,6 @@
extern void fghPlatformInitializeEGL();
extern void fghPlatformCloseDisplayEGL();
-extern void fgPlatformDestroyContext();
+extern void fgPlatformDestroyContext(SFG_PlatformDisplay pDisplay, SFG_WindowContextType MContext);
#endif
|