summaryrefslogtreecommitdiffstats
path: root/video/out/gl_x11.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-01-11 18:50:02 +0100
committerwm4 <wm4@nowhere>2014-01-11 18:58:07 +0100
commit905029ec0c89b638792a429263bb6033eb074570 (patch)
tree83d49f60db988316bb9dd9f3f7f5f401537c2fb9 /video/out/gl_x11.c
parentd956bbc065d570f425f402c83d69957584591dbd (diff)
downloadmpv-905029ec0c89b638792a429263bb6033eb074570.tar.bz2
mpv-905029ec0c89b638792a429263bb6033eb074570.tar.xz
video/out: remove pointless x/y parameter from vo_x11_config_vo_window
This never made any real sense; the "backend" has to access vo->dx/dy anyway.
Diffstat (limited to 'video/out/gl_x11.c')
-rw-r--r--video/out/gl_x11.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/video/out/gl_x11.c b/video/out/gl_x11.c
index a4ade18bca..88b586ce2d 100644
--- a/video/out/gl_x11.c
+++ b/video/out/gl_x11.c
@@ -201,8 +201,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, vo->dx, vo->dy, d_width,
- d_height, flags, "gl");
+ vo_x11_config_vo_window(vo, glx_ctx->vinfo, d_width, d_height, flags, "gl");
return true;
}
@@ -265,8 +264,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, vo->dx, vo->dy, d_width,
- d_height, flags, "gl");
+ vo_x11_config_vo_window(vo, glx_ctx->vinfo, d_width, d_height, flags, "gl");
bool success = false;
if (ctx->requested_gl_version >= MPGL_VER(3, 0))