summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/x11
diff options
context:
space:
mode:
authorDaniel Borca <[email protected]>2005-01-17 08:02:42 +0000
committerDaniel Borca <[email protected]>2005-01-17 08:02:42 +0000
commitd98c47300ad0640f8456caced6f03675de06d3a9 (patch)
tree35d0f95dbce4eeb3893882920dc7115fdf1671d2 /src/mesa/drivers/x11
parent6a432a7c50927964bb73ede7b389b6a689fe1d6f (diff)
fix compilation error for fx/Mesa
Diffstat (limited to 'src/mesa/drivers/x11')
-rw-r--r--src/mesa/drivers/x11/xm_api.c2
1 files changed, 1 insertions, 1 deletions
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 );
}