From a2d5031b1e133523591f1683527c2c96f58aa606 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Mon, 12 Jan 2009 19:38:39 +0000 Subject: dri: make dri_display_surface static --- src/gallium/state_trackers/glx/dri/dri_drawable.c | 2 +- src/gallium/state_trackers/glx/dri/dri_drawable.h | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) (limited to 'src') 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 @@ -58,11 +58,6 @@ dri_drawable(__DRIdrawablePrivate * driDrawPriv) * dri_drawable.c */ -void -dri_display_surface(__DRIdrawablePrivate * dPriv, - struct pipe_surface *surf, - const drm_clip_rect_t * rect); - void dri_swap_buffers(__DRIdrawablePrivate * dPriv); -- cgit v1.2.3