mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-25 00:36:16 +00:00
testdisplay: fix error output if test pattern draw fails
This commit is contained in:
parent
b707feb9d5
commit
8969b839b5
@ -854,7 +854,7 @@ set_mode(struct connector *c)
|
|||||||
status = cairo_status(cr);
|
status = cairo_status(cr);
|
||||||
cairo_destroy(cr);
|
cairo_destroy(cr);
|
||||||
if (status)
|
if (status)
|
||||||
fprintf(stderr, "failed to draw pretty picture %x%d: %s\n",
|
fprintf(stderr, "failed to draw pretty picture %dx%d: %s\n",
|
||||||
width, height, cairo_status_to_string(status));
|
width, height, cairo_status_to_string(status));
|
||||||
|
|
||||||
ret = drmModeAddFB(fd, width, height, depth, bpp,
|
ret = drmModeAddFB(fd, width, height, depth, bpp,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user