projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a432a7
)
fix compilation error for fx/Mesa
author
Daniel Borca
<dborca@users.sourceforge.net>
Mon, 17 Jan 2005 08:02:42 +0000
(08:02 +0000)
committer
Daniel Borca
<dborca@users.sourceforge.net>
Mon, 17 Jan 2005 08:02:42 +0000
(08:02 +0000)
src/mesa/drivers/x11/xm_api.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/x11/xm_api.c
b/src/mesa/drivers/x11/xm_api.c
index 47c19c87a7f32bba6162058d514e5cba0ed213d7..70ef10ea1241e0cc9d561951537467d682c96a6f 100644
(file)
--- 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->
w
idth--; /* prevent odd width */
+ b->
mesa_buffer.W
idth--; /* prevent odd width */
xmesa_alloc_back_buffer( b );
}