glgsg: Show internal format in debug output

This commit is contained in:
rdb 2023-12-10 13:18:23 +01:00
parent 0cc3f8fbf6
commit 4f37d97cf6

View File

@ -13287,7 +13287,8 @@ upload_texture(CLP(TextureContext) *gtc, bool force, bool uses_mipmaps) {
GLCAT.debug() GLCAT.debug()
<< "allocating storage for texture " << tex->get_name() << ", " << width << "allocating storage for texture " << tex->get_name() << ", " << width
<< " x " << height << " x " << depth << ", mipmaps " << num_levels << " 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) { switch (texture_type) {