projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e0d575
)
Fix a possible segfault caused by the SGI_make_current_read changes.
author
Ian Romanick
<idr@us.ibm.com>
Tue, 11 May 2004 16:17:49 +0000
(16:17 +0000)
committer
Ian Romanick
<idr@us.ibm.com>
Tue, 11 May 2004 16:17:49 +0000
(16:17 +0000)
src/mesa/drivers/dri/i830/i830_context.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i830/i830_context.c
b/src/mesa/drivers/dri/i830/i830_context.c
index 07a5267c29f116e99f75b6448f3619f82d72fc54..b0236a5d618654d18fabfc9f77d67ab6a574e07a 100644
(file)
--- a/
src/mesa/drivers/dri/i830/i830_context.c
+++ b/
src/mesa/drivers/dri/i830/i830_context.c
@@
-508,6
+508,7
@@
GLboolean i830MakeCurrent(__DRIcontextPrivate *driContextPriv,
if ( imesa->driDrawable != driDrawPriv ) {
imesa->driDrawable = driDrawPriv;
i830XMesaWindowMoved( imesa );
+ imesa->mesa_drawable = driDrawPriv;
}
imesa->driReadable = driReadPriv;