diff options
author | wm4 <wm4@nowhere> | 2014-05-06 20:24:35 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-05-06 20:24:35 +0200 |
commit | 5eaefaa98a857f29a8ed868f8f3af03f8d71a8b6 (patch) | |
tree | 8ac814c575e0ed7ee69bcd0c1f366cbbf4ad205e /video/out/gl_x11.c | |
parent | feb1f8f18fc2bf1de81ea43d7b57e318c1bf4e69 (diff) | |
download | mpv-5eaefaa98a857f29a8ed868f8f3af03f8d71a8b6.tar.bz2 mpv-5eaefaa98a857f29a8ed868f8f3af03f8d71a8b6.tar.xz |
x11: don't use VOCTRL_UPDATE_SCREENINFO
See previous commit.
Diffstat (limited to 'video/out/gl_x11.c')
-rw-r--r-- | video/out/gl_x11.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/gl_x11.c b/video/out/gl_x11.c index 801e41e6d8..08a37eac89 100644 --- a/video/out/gl_x11.c +++ b/video/out/gl_x11.c @@ -206,7 +206,7 @@ static bool config_window_x11(struct MPGLContext *ctx, uint32_t d_width, if (glx_ctx->context) { // GL context and window already exist. // Only update window geometry etc. - vo_x11_config_vo_window(vo, glx_ctx->vinfo, d_width, d_height, flags, "gl"); + vo_x11_config_vo_window(vo, glx_ctx->vinfo, flags, "gl"); return true; } @@ -271,7 +271,7 @@ static bool config_window_x11(struct MPGLContext *ctx, uint32_t d_width, glXGetFBConfigAttrib(vo->x11->display, fbc, GLX_GREEN_SIZE, &ctx->depth_g); glXGetFBConfigAttrib(vo->x11->display, fbc, GLX_BLUE_SIZE, &ctx->depth_b); - vo_x11_config_vo_window(vo, glx_ctx->vinfo, d_width, d_height, flags, "gl"); + vo_x11_config_vo_window(vo, glx_ctx->vinfo, flags, "gl"); bool success = false; if (ctx->requested_gl_version >= MPGL_VER(3, 0)) |