Don't crash if SW cursor
In case of device option or hw cursor allocation fails.
This commit is contained in:
parent
2e43bec873
commit
aa3ac79759
|
|
@ -1946,7 +1946,8 @@ i830_bind_all_memory(ScrnInfoPtr pScrn)
|
|||
}
|
||||
#endif
|
||||
}
|
||||
i830_update_cursor_offsets(pScrn);
|
||||
if (!pI830->SWCursor)
|
||||
i830_update_cursor_offsets(pScrn);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue