projects
/
qtbase-opensource-src.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b330aa4
)
properly cast types for libglvnd 1.3.4
author
Rex Dieter
<rdieter@gmail.com>
Sun, 29 Jun 2025 19:50:45 +0000
(22:50 +0300)
committer
Dmitry Shachnev
<mitya57@debian.org>
Sun, 29 Jun 2025 19:50:45 +0000
(22:50 +0300)
Origin: https://src.fedoraproject.org/rpms/qt5-qtbase/blob/rawhide/f/qtbase-everywhere-src-5.15.2-libglvnd.patch
Gbp-Pq: Name cast_types_for_egl_x11_test.diff
src/gui/configure.json
patch
|
blob
|
history
diff --git
a/src/gui/configure.json
b/src/gui/configure.json
index ed6e419f490f8a842cde405acf4ad92676fe8898..c8e6a34a1d31e7f6215e425a328c807d647ba88d 100644
(file)
--- a/
src/gui/configure.json
+++ b/
src/gui/configure.json
@@
-838,9
+838,9
@@
],
"include": [ "EGL/egl.h", "X11/Xlib.h" ],
"main": [
- "Display *dpy =
EGL_DEFAULT_DISPLAY
;",
+ "Display *dpy =
reinterpret_cast<Display *>(EGL_DEFAULT_DISPLAY)
;",
"EGLNativeDisplayType egldpy = XOpenDisplay(\"\");",
- "dpy =
egldpy
;",
+ "dpy =
reinterpret_cast<Display *>(egldpy)
;",
"EGLNativeWindowType w = XCreateWindow(dpy, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);",
"XDestroyWindow(dpy, w);",
"XCloseDisplay(dpy);"