Skip to content
Snippets Groups Projects
Commit b8e59292 authored by Mark Kettenis's avatar Mark Kettenis Committed by Emil Velikov
Browse files

egl/x11: resolve "initialization from incompatible pointer type" warning


With earlier commit we've moved a few functions and changing the
argument type from _EGLDisplay * to struct dri2_egl_display *.

The latter is effectively a wrapper around the former, thus
functionality was preserved, although GCC rightfully warned us about the
misuse.

Add a simple wrapper that casts and propagates the correct type.

Fixes: 9bbf3737 ("egl/x11: authenticate before doing chipset id
ioctls")
Cc: "11.2 11.1" <mesa-stable@lists.freedesktop.org>
Reported-by: default avatarMatt Turner <mattst88@gmail.com>
Signed-off-by: default avatarEmil Velikov <emil.velikov@collabora.com>
parent a92910ae
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment