Fix OpenGL error on FBO shutdown

(caused by call to glGetError while context was already shut down)
This commit is contained in:
rdb 2015-01-24 19:45:06 +01:00
parent a6cf0960fa
commit 0f1243230d

View File

@ -1394,9 +1394,7 @@ open_buffer() {
////////////////////////////////////////////////////////////////////
void CLP(GraphicsBuffer)::
close_buffer() {
check_host_valid();
report_my_gl_errors();
if (_gsg == 0) {
return;