diff options
-rw-r--r-- | src/mesa/drivers/x11/xm_api.c | 2 |
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 ); } |