diff options
author | Adam Jackson <ajax@redhat.com> | 2010-11-29 17:37:54 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2010-11-29 17:37:54 -0500 |
commit | 1ccef926be46dce3b6b5c76e812e2fae4e205ce7 (patch) | |
tree | e317f277e47d3b624271f26a514a8db47085d4e5 /src/mesa/drivers/x11/xm_glide.c | |
parent | e5aa69f6a6779d1e0fb3d413ad7007b0fb90b176 (diff) |
drivers/x11: unifdef XFree86Server
This code was for the old GLcore build of the software rasteriser. The
X server switched to a DRI driver for software indirect GLX long ago.
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'src/mesa/drivers/x11/xm_glide.c')
-rw-r--r-- | src/mesa/drivers/x11/xm_glide.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mesa/drivers/x11/xm_glide.c b/src/mesa/drivers/x11/xm_glide.c index cbd69b011a..d8a0e6de6d 100644 --- a/src/mesa/drivers/x11/xm_glide.c +++ b/src/mesa/drivers/x11/xm_glide.c @@ -140,16 +140,8 @@ static void FXgetImage( XMesaBuffer b ) GLuint x, y; GLuint width, height; -#ifdef XFree86Server - x = b->frontxrb->pixmap->x; - y = b->frontxrb->pixmap->y; - width = b->frontxrb->pixmap->width; - height = b->frontxrb->pixmap->height; - depth = b->frontxrb->pixmap->depth; -#else xmesa_get_window_size(b->display, b, &width, &height); x = y = 0; -#endif if (b->mesa_buffer.Width != width || b->mesa_buffer.Height != height) { b->mesa_buffer.Width = MIN2((int)width, b->FXctx->width); b->mesa_buffer.Height = MIN2((int)height, b->FXctx->height); |