diff options
| -rw-r--r-- | ChangeLog | 1 | ||||
| -rw-r--r-- | video.c | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -1,6 +1,7 @@ User johns Date: + Fix bug: memory leak. PIP close clears the last used PIP channel. Fix bug: -DOSD_DEBUG uses old (deleted) variable. Fix bug: Option softhddevice.BlackPicture has no effect. @@ -912,13 +912,13 @@ static void GlxOsdClear(void) // FIXME: if not; use zero buffer // FIXME: if not; use dirty area - texbuf = calloc(OsdWidth * OsdHeight, 4); - // set glx context if (!glXMakeCurrent(XlibDisplay, VideoWindow, GlxContext)) { Error(_("video/glx: can't make glx context current\n")); return; } + + texbuf = calloc(OsdWidth * OsdHeight, 4); GlxUploadOsdTexture(0, 0, OsdWidth, OsdHeight, texbuf); glXMakeCurrent(XlibDisplay, None, NULL); |
