mesa/include
Sylvain Munaut 0fa85b983f mesa/st, dri2, wgl, glx: Restore flush_objects interop backward compat
In commit 1396dc1c a new output field was added as a parameter, but this
is a problem since the signature of the function are not versionned.

The flush function didn't have a versionned output struct. So what I'm
proposing here is that if the version of the input argument is new enough
(bumped to 2 here), then we re-use the existing argument, which until now
was directly a pointer to GLsync, and instead use it as a pointer to a
versioned struct.

We're just changing one pointer type to another, so in C, this should
be fine AFAIK.

Fixes: 1396dc1c

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26315>
2023-11-21 23:15:32 +00:00
..
android_stub
CL
D3D9
d3dadapter
drm-uapi intel: Sync xe_drm.h 2023-11-20 17:57:34 +00:00
EGL
GL mesa/st, dri2, wgl, glx: Restore flush_objects interop backward compat 2023-11-21 23:15:32 +00:00
GLES
GLES2
GLES3
KHR
pci_ids intel/dev: Rename mtl-p to mtl-h 2023-11-07 06:37:00 +00:00
vk_video vulkan: update video headers 2023-11-03 22:59:36 +00:00
vulkan vulkan: bump headers/registry to 1.3.267 2023-10-11 11:32:47 +00:00
winddk
c99_alloca.h
c99_compat.h
kopper_interface.h
meson.build
no_extern_c.h