From: Brian Date: Thu, 1 Nov 2007 18:55:20 +0000 (-0600) Subject: remove unused funcs, macros X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1c8d064c39468c8b1ae1e56074a8e470375bd1e0;p=mesa.git remove unused funcs, macros --- diff --git a/src/mesa/pipe/xlib/xm_surface.c b/src/mesa/pipe/xlib/xm_surface.c index 1ac96513d8a..6250e75de8e 100644 --- a/src/mesa/pipe/xlib/xm_surface.c +++ b/src/mesa/pipe/xlib/xm_surface.c @@ -165,19 +165,6 @@ xget_image(XMesaDisplay *dpy, Drawable d, int x, int y, uint w, uint h) - -static INLINE struct xmesa_renderbuffer * -xmesa_rb(struct pipe_surface *ps) -{ - struct xmesa_surface *xms = xmesa_surface(ps); - return xms->xrb; -} - - -#define FLIP(Y) Y = xrb->St.Base.Height - (Y) - 1; - - - /** * Return raw pixels from pixmap or XImage. */