mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
Fix a possible segfault caused by the SGI_make_current_read changes.
This commit is contained in:
parent
4e0d575c64
commit
366a27d2b9
1 changed files with 1 additions and 0 deletions
|
|
@ -508,6 +508,7 @@ GLboolean i830MakeCurrent(__DRIcontextPrivate *driContextPriv,
|
|||
if ( imesa->driDrawable != driDrawPriv ) {
|
||||
imesa->driDrawable = driDrawPriv;
|
||||
i830XMesaWindowMoved( imesa );
|
||||
imesa->mesa_drawable = driDrawPriv;
|
||||
}
|
||||
|
||||
imesa->driReadable = driReadPriv;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue