mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
more debugging
This commit is contained in:
parent
01f8f950ab
commit
fac571928d
@ -3012,8 +3012,12 @@ prepare_index_buffer(qpGeomPrimitive *data) {
|
||||
_glGenBuffers(1, &gibc->_index);
|
||||
|
||||
if (GLCAT.is_debug()) {
|
||||
const qpGeomVertexArrayData *vertices = data->get_vertices();
|
||||
GLCAT.debug()
|
||||
<< "creating index buffer " << gibc->_index << "\n";
|
||||
<< "creating index buffer " << gibc->_index << ": "
|
||||
<< data->get_num_vertices() << " indices ("
|
||||
<< data->get_vertices()->get_array_format()->get_column(0)->get_numeric_type()
|
||||
<< ")\n";
|
||||
}
|
||||
|
||||
report_my_gl_errors();
|
||||
|
Loading…
x
Reference in New Issue
Block a user