Commit 1a6d2c99 authored by Simon Morlat's avatar Simon Morlat
Browse files

fix bug when window id is not set (wasn't working anymore)

parent 7924441a
......@@ -133,6 +133,9 @@ static void glxvideo_prepare(MSFilter *f){
if (createX11GLWindow(s->display, s->wsize, &s->glContext, &window)) {
GLenum err;
if (s->own_window){
s->window_id = window;
s->glhelper = ogl_display_new();
glXMakeCurrent( s->display, s->subwindow, s->glContext );
err = glewInit();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment