From 4f37d97cf6cf0814ad3e17e13122f14e3962656d Mon Sep 17 00:00:00 2001 From: rdb Date: Sun, 10 Dec 2023 13:18:23 +0100 Subject: [PATCH] glgsg: Show internal format in debug output --- panda/src/glstuff/glGraphicsStateGuardian_src.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/panda/src/glstuff/glGraphicsStateGuardian_src.cxx b/panda/src/glstuff/glGraphicsStateGuardian_src.cxx index e6217ed4c9..1d92309a65 100644 --- a/panda/src/glstuff/glGraphicsStateGuardian_src.cxx +++ b/panda/src/glstuff/glGraphicsStateGuardian_src.cxx @@ -13287,7 +13287,8 @@ upload_texture(CLP(TextureContext) *gtc, bool force, bool uses_mipmaps) { GLCAT.debug() << "allocating storage for texture " << tex->get_name() << ", " << width << " x " << height << " x " << depth << ", mipmaps " << num_levels - << ", uses_mipmaps = " << uses_mipmaps << "\n"; + << ", uses_mipmaps = " << uses_mipmaps << ", internal_format = 0x" + << std::hex << internal_format << std::dec << "\n"; } switch (texture_type) {