mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 15:00:10 +01:00
fix compilation error for fx/Mesa
This commit is contained in:
parent
6a432a7c50
commit
d98c47300a
1 changed files with 1 additions and 1 deletions
|
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue