mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
Show texture names in glBindTexture() calls in spam output
This commit is contained in:
parent
e778c529b2
commit
ceee5e9df9
@ -6188,7 +6188,7 @@ framebuffer_copy_to_texture(Texture *tex, int view, int z,
|
|||||||
|
|
||||||
if (GLCAT.is_spam()) {
|
if (GLCAT.is_spam()) {
|
||||||
GLCAT.spam()
|
GLCAT.spam()
|
||||||
<< "glBindTexture(0x" << hex << target << dec << ", " << gtc->_index << ")\n";
|
<< "glBindTexture(0x" << hex << target << dec << ", " << gtc->_index << "): " << *tex << "\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -11365,7 +11365,7 @@ apply_texture(CLP(TextureContext) *gtc) {
|
|||||||
glBindTexture(target, gtc->_index);
|
glBindTexture(target, gtc->_index);
|
||||||
if (GLCAT.is_spam()) {
|
if (GLCAT.is_spam()) {
|
||||||
GLCAT.spam()
|
GLCAT.spam()
|
||||||
<< "glBindTexture(0x" << hex << target << dec << ", " << gtc->_index << ")\n";
|
<< "glBindTexture(0x" << hex << target << dec << ", " << gtc->_index << "): " << *gtc->get_texture() << "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
report_my_gl_errors();
|
report_my_gl_errors();
|
||||||
@ -11663,7 +11663,7 @@ upload_texture(CLP(TextureContext) *gtc, bool force, bool uses_mipmaps) {
|
|||||||
|
|
||||||
if (GLCAT.is_spam()) {
|
if (GLCAT.is_spam()) {
|
||||||
GLCAT.spam()
|
GLCAT.spam()
|
||||||
<< "glBindTexture(0x" << hex << target << dec << ", " << gtc->_index << ")\n";
|
<< "glBindTexture(0x" << hex << target << dec << ", " << gtc->_index << "): " << *tex << "\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -12636,14 +12636,14 @@ do_extract_texture_data(CLP(TextureContext) *gtc) {
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Texture *tex = gtc->get_texture();
|
||||||
|
|
||||||
glBindTexture(target, gtc->_index);
|
glBindTexture(target, gtc->_index);
|
||||||
if (GLCAT.is_spam()) {
|
if (GLCAT.is_spam()) {
|
||||||
GLCAT.spam()
|
GLCAT.spam()
|
||||||
<< "glBindTexture(0x" << hex << target << dec << ", " << gtc->_index << ")\n";
|
<< "glBindTexture(0x" << hex << target << dec << ", " << gtc->_index << "): " << *tex << "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
Texture *tex = gtc->get_texture();
|
|
||||||
|
|
||||||
GLint wrap_u, wrap_v, wrap_w;
|
GLint wrap_u, wrap_v, wrap_w;
|
||||||
GLint minfilter, magfilter;
|
GLint minfilter, magfilter;
|
||||||
GLfloat border_color[4];
|
GLfloat border_color[4];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user