mirror of
https://github.com/jojo61/vdr-plugin-softhdcuvid.git
synced 2025-12-27 07:21:07 +01:00
fixed detach crash hopefully
This commit is contained in:
@@ -1594,10 +1594,10 @@ bool cOglThread::InitOpenGL(void) {
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
#if 1
|
||||
|
||||
if (!GlxInitopengl())
|
||||
return false;
|
||||
#endif
|
||||
|
||||
VertexBuffers[vbText]->EnableBlending();
|
||||
glDisable(GL_DEPTH_TEST);
|
||||
return true;
|
||||
@@ -1650,7 +1650,7 @@ void cOglThread::DeleteVertexBuffers(void) {
|
||||
void cOglThread::Cleanup(void) {
|
||||
esyslog("[softhddev]OglThread cleanup\n");
|
||||
DeleteVertexBuffers();
|
||||
delete cOglOsd::oFb;
|
||||
// delete cOglOsd::oFb;
|
||||
cOglOsd::oFb = NULL;
|
||||
DeleteShaders();
|
||||
// glVDPAUFiniNV();
|
||||
|
||||
Reference in New Issue
Block a user