dri: make dri_display_surface static
authorKeith Whitwell <keith@tungstengraphics.com>
Mon, 12 Jan 2009 19:38:39 +0000 (19:38 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Mon, 12 Jan 2009 19:38:39 +0000 (19:38 +0000)
src/gallium/state_trackers/glx/dri/dri_drawable.c
src/gallium/state_trackers/glx/dri/dri_drawable.h

index 53ac3dbb8c47d53ad55f4e87d6c2df0d9453e0a6..d5006cc0164deeb3a0945b88ffabcabbbc078e5d 100644 (file)
@@ -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)
index cf6b3c8964dd9a590e1f69b20b67b98271835392..1001bb8c578adadbbf138ad079043e43a67f5d3d 100644 (file)
@@ -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);