From: Daniel Borca Date: Mon, 17 Jan 2005 08:02:42 +0000 (+0000) Subject: fix compilation error for fx/Mesa X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d98c47300ad0640f8456caced6f03675de06d3a9;p=mesa.git fix compilation error for fx/Mesa --- diff --git a/src/mesa/drivers/x11/xm_api.c b/src/mesa/drivers/x11/xm_api.c index 47c19c87a7f..70ef10ea124 100644 --- a/src/mesa/drivers/x11/xm_api.c +++ b/src/mesa/drivers/x11/xm_api.c @@ -2269,7 +2269,7 @@ static void FXgetImage( XMesaBuffer b ) b->mesa_buffer.Width = MIN2((int)width, b->FXctx->width); b->mesa_buffer.Height = MIN2((int)height, b->FXctx->height); if (b->mesa_buffer.Width & 1) - b->width--; /* prevent odd width */ + b->mesa_buffer.Width--; /* prevent odd width */ xmesa_alloc_back_buffer( b ); }