mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-17 20:23:47 -04:00
Fix OpenGL error on FBO shutdown
(caused by call to glGetError while context was already shut down)
This commit is contained in:
parent
a6cf0960fa
commit
0f1243230d
@ -1394,9 +1394,7 @@ open_buffer() {
|
||||
////////////////////////////////////////////////////////////////////
|
||||
void CLP(GraphicsBuffer)::
|
||||
close_buffer() {
|
||||
|
||||
check_host_valid();
|
||||
report_my_gl_errors();
|
||||
|
||||
if (_gsg == 0) {
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user