more drm DETA/ATTA fixes

This commit is contained in:
jojo61
2020-01-13 18:17:07 +01:00
parent ce3813a9e9
commit 269c396a2c
3 changed files with 24 additions and 2 deletions

View File

@@ -330,6 +330,7 @@ void cOglGlyph::LoadTexture(FT_BitmapGlyph ftGlyph) {
extern "C" void GlxInitopengl();
extern "C" void GlxDrawopengl();
extern "C" void GlxDestroy();
/****************************************************************************************
* cOglFont
****************************************************************************************/
@@ -1733,6 +1734,8 @@ void cOglThread::Cleanup(void) {
cOglFont::Cleanup();
#ifndef USE_DRM
glutExit();
#else
GlxDestroy();
#endif
pthread_mutex_unlock(&OSDMutex);
}