mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-28 07:48:37 -04:00
glgsg: Show internal format in debug output
This commit is contained in:
parent
0cc3f8fbf6
commit
4f37d97cf6
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user