|
cppcheck: Condition 'renderer!=NULL' is always false
ifdef GDK_WINDOWING_X11
char *renderer = ...
...
endif
out:
Apply Fedora patch:
egl_dpy = get_display (display);
From: Adam Jackson
Date: Tue, 4 Oct 2016 13:15:39 -0400
Subject: [PATCH] check-accelerated-gles: Use eglGetPlatformDisplay{,EXT}
eglGetDisplay forces the implementation to guess, and in general it
can't guess correctly. Be explicit.
https://src.fedoraproject.org/rpms/gnome-session/blob/master/f/0001-check-accelerated-gles-Use-eglGetPlatformDisplay-EXT.patch
deprecations (gdk_error_trap_push & gdk_error_trap_pop_ignored):
gdk_x11_display_error_trap_push (gdk_dpy);
...
gdk_x11_display_error_trap_pop_ignored (gdk_dpy);
|