mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
report a few more error places
This commit is contained in:
parent
2af2fbb30f
commit
3937f92912
@ -1393,6 +1393,7 @@ begin_draw_primitives(const Geom *geom, const GeomMunger *munger,
|
||||
}
|
||||
}
|
||||
|
||||
report_my_gl_errors();
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -1675,6 +1676,7 @@ end_draw_primitives() {
|
||||
}
|
||||
|
||||
GraphicsStateGuardian::end_draw_primitives();
|
||||
report_my_gl_errors();
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
@ -2133,6 +2135,8 @@ framebuffer_copy_to_texture(Texture *tex, int z, const DisplayRegion *dr,
|
||||
xo, yo, w, h, 0);
|
||||
}
|
||||
|
||||
report_my_gl_errors();
|
||||
|
||||
// Clear the internal texture state, since we've just monkeyed with it.
|
||||
modify_state(get_untextured_state());
|
||||
}
|
||||
@ -2372,6 +2376,7 @@ issue_cg_shader_bind(const CgShaderAttrib *attrib) {
|
||||
csc->bind(this);// Bind the new shader
|
||||
}
|
||||
}
|
||||
report_my_gl_errors();
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user