mesa_glinterop: remove mesa_glinterop typedefs
As is there are two places that do the typedefs - dri_interface.h and this header. As we cannot include the former in here, just drop the typedefs and use the struct directly (as needed). This is required because typedef redefinition is C11 feature which is not supported on all the versions of GCC used to build mesa. v2: Kill the typedef alltogether, as per Marek. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96236 Cc: Vinson Lee <vlee@freedesktop.org> Signed-off-by:Emil Velikov <emil.velikov@collabora.com> Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
Showing
- include/GL/internal/dri_interface.h 6 additions, 6 deletionsinclude/GL/internal/dri_interface.h
- include/GL/mesa_glinterop.h 18 additions, 18 deletionsinclude/GL/mesa_glinterop.h
- src/egl/drivers/dri2/egl_dri2.c 3 additions, 3 deletionssrc/egl/drivers/dri2/egl_dri2.c
- src/egl/main/eglapi.c 3 additions, 3 deletionssrc/egl/main/eglapi.c
- src/egl/main/eglapi.h 6 additions, 6 deletionssrc/egl/main/eglapi.h
- src/gallium/state_trackers/dri/dri2.c 3 additions, 3 deletionssrc/gallium/state_trackers/dri/dri2.c
- src/glx/dri2_priv.h 3 additions, 3 deletionssrc/glx/dri2_priv.h
- src/glx/dri3_priv.h 3 additions, 3 deletionssrc/glx/dri3_priv.h
- src/glx/dri_common_interop.c 6 additions, 6 deletionssrc/glx/dri_common_interop.c
- src/glx/glxclient.h 6 additions, 6 deletionssrc/glx/glxclient.h
- src/glx/glxcmds.c 3 additions, 3 deletionssrc/glx/glxcmds.c
Loading
Please register or sign in to comment