summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/state_trackers/glx/dri/dri_drawable.c2
-rw-r--r--src/gallium/state_trackers/glx/dri/dri_drawable.h5
2 files changed, 1 insertions, 6 deletions
diff --git a/src/gallium/state_trackers/glx/dri/dri_drawable.c b/src/gallium/state_trackers/glx/dri/dri_drawable.c
index 53ac3dbb8c4..d5006cc0164 100644
--- a/src/gallium/state_trackers/glx/dri/dri_drawable.c
+++ b/src/gallium/state_trackers/glx/dri/dri_drawable.c
@@ -116,7 +116,7 @@ blit_swapbuffers(__DRIdrawablePrivate *dPriv,
* \param surf the surface to display
* \param rect optional subrect of surface to display (may be NULL).
*/
-void
+static void
dri_display_surface(__DRIdrawablePrivate *dPriv,
struct pipe_surface *source,
const drm_clip_rect_t *rect)
diff --git a/src/gallium/state_trackers/glx/dri/dri_drawable.h b/src/gallium/state_trackers/glx/dri/dri_drawable.h
index cf6b3c8964d..1001bb8c578 100644
--- a/src/gallium/state_trackers/glx/dri/dri_drawable.h
+++ b/src/gallium/state_trackers/glx/dri/dri_drawable.h
@@ -59,11 +59,6 @@ dri_drawable(__DRIdrawablePrivate * driDrawPriv)
*/
void
-dri_display_surface(__DRIdrawablePrivate * dPriv,
- struct pipe_surface *surf,
- const drm_clip_rect_t * rect);
-
-void
dri_swap_buffers(__DRIdrawablePrivate * dPriv);
void