• Stefan Agner's avatar
    shared/platform: avoid build warning when building without gl-renderer · db905f46
    Stefan Agner authored
    When building without GL renderer the compiler prints the following
    warning:
      ../clients/subsurfaces.c: In function ‘egl_state_create’:
      ../clients/subsurfaces.c:225:35: warning: passing argument 1 of
      ‘weston_platform_get_egl_display’ makes pointer from integer without a
      cast [-Wint-conversion]
        225 |   weston_platform_get_egl_display(EGL_PLATFORM_WAYLAND_KHR,
            |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
            |                                   |
            |                                   int
    ...
    
    Define the fallback implementation of weston_platform_get_egl_display
    to take an integer which is the underlaying datatype of EGLenum.
    Signed-off-by: Stefan Agner's avatarStefan Agner <stefan@agner.ch>
    db905f46
Name
Last commit
Last update
..
cairo-util.c Loading commit data...
cairo-util.h Loading commit data...
config-parser.c Loading commit data...
fd-util.h Loading commit data...
file-util.c Loading commit data...
file-util.h Loading commit data...
frame.c Loading commit data...
helpers.h Loading commit data...
image-loader.c Loading commit data...
image-loader.h Loading commit data...
matrix.c Loading commit data...
meson.build Loading commit data...
option-parser.c Loading commit data...
os-compatibility.c Loading commit data...
os-compatibility.h Loading commit data...
platform.h Loading commit data...
string-helpers.h Loading commit data...
timespec-util.h Loading commit data...
weston-egl-ext.h Loading commit data...
xalloc.c Loading commit data...
xalloc.h Loading commit data...