mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-18 12:43:44 -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)::
|
void CLP(GraphicsBuffer)::
|
||||||
close_buffer() {
|
close_buffer() {
|
||||||
|
|
||||||
check_host_valid();
|
check_host_valid();
|
||||||
report_my_gl_errors();
|
|
||||||
|
|
||||||
if (_gsg == 0) {
|
if (_gsg == 0) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user