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…
Reference in New Issue