mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
cell: added null ptr check in xm_flush_frontbuffer()
This commit is contained in:
parent
e6479c6250
commit
66ddf1a00f
1 changed files with 2 additions and 1 deletions
|
|
@ -222,7 +222,8 @@ xm_flush_frontbuffer(struct pipe_winsys *pws,
|
|||
* This function copies that XImage to the actual X Window.
|
||||
*/
|
||||
XMesaContext xmctx = (XMesaContext) context_private;
|
||||
xlib_cell_display_surface(xmctx->xm_buffer, surf);
|
||||
if (xmctx)
|
||||
xlib_cell_display_surface(xmctx->xm_buffer, surf);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue