From 2482271fffbe85efc1bd7efcf74a76f6ed436012 Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 29 Apr 2021 14:19:51 -0700 Subject: `gfx` DebugCallback and debug layer. (#1822) * `gfx` DebugCallback and debug layer. --- examples/gpu-printing/gpu-printing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/gpu-printing/gpu-printing.cpp') diff --git a/examples/gpu-printing/gpu-printing.cpp b/examples/gpu-printing/gpu-printing.cpp index f1e842e95..aeca7aa9a 100644 --- a/examples/gpu-printing/gpu-printing.cpp +++ b/examples/gpu-printing/gpu-printing.cpp @@ -156,7 +156,7 @@ void GPUPrinting::processGPUPrintCommands(const void* data, size_t dataSize) // that the buffer is corrupted or invalid, but we will try to // soldier on and process further commands. // - fprintf(stderr, "error: unexpected GPU printing op %d\n", op); + fprintf(stderr, "error: unexpected GPU printing op %d\n", (int)op); break; case GPUPrintingOp::Nop: -- cgit v1.2.3