summaryrefslogtreecommitdiffstats
path: root/examples/gpu-printing/gpu-printing.cpp
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2021-04-29 14:19:51 -0700
committerGitHub <noreply@github.com>2021-04-29 14:19:51 -0700
commit2482271fffbe85efc1bd7efcf74a76f6ed436012 (patch)
tree707da083c8eda527b7c548d636cb884cf53c53eb /examples/gpu-printing/gpu-printing.cpp
parentad6f3070251f25cf022c231b8567d78e98061127 (diff)
`gfx` DebugCallback and debug layer. (#1822)
* `gfx` DebugCallback and debug layer.
Diffstat (limited to 'examples/gpu-printing/gpu-printing.cpp')
-rw-r--r--examples/gpu-printing/gpu-printing.cpp2
1 files changed, 1 insertions, 1 deletions
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: