glx: make interop ABI visible again
authorMarek Olšák <marek.olsak@amd.com>
Wed, 2 Nov 2016 17:59:22 +0000 (18:59 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 4 Nov 2016 10:30:47 +0000 (11:30 +0100)
This was broken when the GLAPI use was removed from mesa_glinterop.h.

Cc: 12.0 13.0 <mesa-stable@lists.freedesktop.org>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/glx/glxcmds.c

index 6abe0b9f2291a0d7e374c966f877739804f55ded..8980de3733a2e3f182e644de8671468e4f745dc3 100644 (file)
@@ -2713,7 +2713,7 @@ __glXGetUST(int64_t * ust)
 
 #if defined(GLX_DIRECT_RENDERING) && !defined(GLX_USE_APPLEGL)
 
-int
+PUBLIC int
 MesaGLInteropGLXQueryDeviceInfo(Display *dpy, GLXContext context,
                                 struct mesa_glinterop_device_info *out)
 {
@@ -2737,7 +2737,7 @@ MesaGLInteropGLXQueryDeviceInfo(Display *dpy, GLXContext context,
    return ret;
 }
 
-int
+PUBLIC int
 MesaGLInteropGLXExportObject(Display *dpy, GLXContext context,
                              struct mesa_glinterop_export_in *in,
                              struct mesa_glinterop_export_out *out)