projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7439a36
)
call DRI_VALIDATE_DRAWABLE_INFO(), bug 10477
author
Gustavo Pichorim Boiko
<boiko@mandriva.com>
Fri, 30 Mar 2007 20:10:10 +0000
(14:10 -0600)
committer
Brian
<brian@yutani.localnet.net>
Fri, 30 Mar 2007 20:10:10 +0000
(14:10 -0600)
src/mesa/drivers/dri/mga/mga_xmesa.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/mga/mga_xmesa.c
b/src/mesa/drivers/dri/mga/mga_xmesa.c
index ca2c8faa18365b389d84b6a6e7337bcdf095c2e2..5b65d1a3028273f4a36a7a5c897c3ec003cb7fc6 100644
(file)
--- a/
src/mesa/drivers/dri/mga/mga_xmesa.c
+++ b/
src/mesa/drivers/dri/mga/mga_xmesa.c
@@
-910,6
+910,7
@@
void mgaGetLock( mgaContextPtr mmesa, GLuint flags )
drmGetLock(mmesa->driFd, mmesa->hHWContext, flags);
+ DRI_VALIDATE_DRAWABLE_INFO( mmesa->driScreen, dPriv );
if (*(dPriv->pStamp) != mmesa->lastStamp) {
mmesa->lastStamp = *(dPriv->pStamp);
mmesa->SetupNewInputs |= VERT_BIT_POS;
@@
-920,7
+921,7
@@
void mgaGetLock( mgaContextPtr mmesa, GLuint flags )
mmesa->dirty |= MGA_UPLOAD_CONTEXT | MGA_UPLOAD_CLIPRECTS;
-
mmesa->sarea->dirty |= MGA_UPLOAD_CONTEXT;
+ mmesa->sarea->dirty |= MGA_UPLOAD_CONTEXT;
if (sarea->ctxOwner != me) {
mmesa->dirty |= (MGA_UPLOAD_CONTEXT | MGA_UPLOAD_TEX0 |