mirror of
https://github.com/jojo61/vdr-plugin-softhdcuvid.git
synced 2023-10-10 13:37:41 +02:00
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
Block a user