mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 15:58:05 +02:00
st/xorg: Don't segfault when debug printing
This commit is contained in:
parent
fca8b2c3ae
commit
3201c655e4
1 changed files with 3 additions and 3 deletions
|
|
@ -476,9 +476,9 @@ ExaPrepareComposite(int op, PicturePtr pSrcPicture,
|
|||
debug_printf("ExaPrepareComposite(%d, src=0x%p, mask=0x%p, dst=0x%p)\n",
|
||||
op, pSrcPicture, pMaskPicture, pDstPicture);
|
||||
debug_printf("\tFormats: src(%s), mask(%s), dst(%s)\n",
|
||||
render_format_name(pSrcPicture->format),
|
||||
render_format_name(pMaskPicture->format),
|
||||
render_format_name(pDstPicture->format));
|
||||
pSrcPicture ? render_format_name(pSrcPicture->format) : "none",
|
||||
pMaskPicture ? render_format_name(pMaskPicture->format) : "none",
|
||||
pDstPicture ? render_format_name(pDstPicture->format) : "none");
|
||||
#endif
|
||||
if (!exa->pipe)
|
||||
XORG_FALLBACK("accle not enabled");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue