mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
this debug test doesn't work on all drivers
This commit is contained in:
parent
c7bce135da
commit
ee69090a45
@ -3071,14 +3071,7 @@ end_occlusion_query() {
|
||||
<< "ending occlusion query index " << index << "\n";
|
||||
}
|
||||
|
||||
#ifndef NDEBUG
|
||||
GLint current_id;
|
||||
_glGetQueryiv(GL_SAMPLES_PASSED, GL_CURRENT_QUERY, ¤t_id);
|
||||
nassertr(current_id == index, NULL);
|
||||
#endif // NDEBUG
|
||||
|
||||
_current_occlusion_query = NULL;
|
||||
|
||||
_glEndQuery(GL_SAMPLES_PASSED);
|
||||
|
||||
// Temporary hack to try working around an apparent driver bug on
|
||||
|
Loading…
x
Reference in New Issue
Block a user