mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 07:58:07 +02:00
added null xmctx check to XMesaResizeBuffers(), bug 7205
This commit is contained in:
parent
95764262a7
commit
f04979ae48
1 changed files with 2 additions and 0 deletions
|
|
@ -2499,6 +2499,8 @@ XMesaResizeBuffers( XMesaBuffer b )
|
|||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
XMesaContext xmctx = XMESA_CONTEXT(ctx);
|
||||
if (!xmctx)
|
||||
return;
|
||||
xmesa_check_and_update_buffer_size(xmctx, b);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue