mirror of
https://github.com/jojo61/vdr-plugin-softhdcuvid.git
synced 2023-10-10 13:37:41 +02:00
commit
5653e31466
4
video.c
4
video.c
@ -921,13 +921,11 @@ static void GlxSetupWindow(xcb_window_t window, int width, int height, EGLContex
|
||||
// set gl context
|
||||
#ifdef CUVID
|
||||
if (!glXMakeCurrent(XlibDisplay, window, context)) {
|
||||
#else
|
||||
if (!eglMakeCurrent(eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, context )) {
|
||||
#endif
|
||||
Fatal(_("video/egl: GlxSetupWindow can't make egl/glx context current\n"));
|
||||
EglEnabled = 0;
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
Debug(3, "video/egl: ok\n");
|
||||
|
||||
#ifdef CUVID
|
||||
|
Loading…
Reference in New Issue
Block a user