From: Keith Whitwell Date: Mon, 12 Jan 2009 19:38:39 +0000 (+0000) Subject: dri: make dri_display_surface static X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a2d5031b1e133523591f1683527c2c96f58aa606;p=mesa.git dri: make dri_display_surface static --- 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);