summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-01-12 19:38:39 +0000
committerKeith Whitwell <[email protected]>2009-01-12 19:38:39 +0000
commita2d5031b1e133523591f1683527c2c96f58aa606 (patch)
tree10a2a95582394df5b9042d7848f1b28905a45adc
parent3e492acc579ba0a98d0388aa73605aba5bf9840c (diff)
dri: make dri_display_surface static
-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