remove glxMakeCurrent
This commit is contained in:
parent
115f3b1fce
commit
d5dec38d62
|
@ -61,7 +61,7 @@ extern void ToggleLUT();
|
||||||
/// vdr-plugin version number.
|
/// vdr-plugin version number.
|
||||||
/// Makefile extracts the version number for generating the file name
|
/// Makefile extracts the version number for generating the file name
|
||||||
/// for the distribution archive.
|
/// for the distribution archive.
|
||||||
static const char *const VERSION = "3.6"
|
static const char *const VERSION = "3.7"
|
||||||
#ifdef GIT_REV
|
#ifdef GIT_REV
|
||||||
"-GIT" GIT_REV
|
"-GIT" GIT_REV
|
||||||
#endif
|
#endif
|
||||||
|
|
2
video.c
2
video.c
|
@ -1227,7 +1227,7 @@ static void EglExit(void) {
|
||||||
// must destroy glx
|
// must destroy glx
|
||||||
// if (glXGetCurrentContext() == glxContext) {
|
// if (glXGetCurrentContext() == glxContext) {
|
||||||
// if currently used, set to none
|
// if currently used, set to none
|
||||||
glXMakeCurrent(XlibDisplay, None, NULL);
|
// glXMakeCurrent(XlibDisplay, None, NULL);
|
||||||
// }
|
// }
|
||||||
if (OSDcontext) {
|
if (OSDcontext) {
|
||||||
glXDestroyContext(XlibDisplay, OSDcontext);
|
glXDestroyContext(XlibDisplay, OSDcontext);
|
||||||
|
|
Loading…
Reference in New Issue