From 098678652d88435bc7e0f1a17e5d1008d665adf3 Mon Sep 17 00:00:00 2001 From: Alberto Mardegan Date: Sun, 20 Oct 2024 21:49:13 +0300 Subject: [PATCH] pixels: print image type in hexadecimal format This makes it easier to lookup the type in the GL.h header file. --- src/pixels.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pixels.cpp b/src/pixels.cpp index 0d020fe..29d00c6 100644 --- a/src/pixels.cpp +++ b/src/pixels.cpp @@ -194,7 +194,7 @@ void load_texture(const void *data, GLenum type, int width, int height, dst, x, y, dstpitch); break; default: - warning("Unsupported texture format %d", type); + warning("Unsupported texture format %04x", type); } }