diff options
author | atmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-01-13 01:20:21 +0000 |
---|---|---|
committer | atmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-01-13 01:20:21 +0000 |
commit | 6d2e21b2735098d4491ad5c47fdb6f2d2a770c37 (patch) | |
tree | abd3147a2e02b38d40dcdcece4e7c3ec25e38574 /libvo/vo_sdl.c | |
parent | c4ff07d55905468d0c50260c559c24b9b0f93034 (diff) | |
download | mpv-6d2e21b2735098d4491ad5c47fdb6f2d2a770c37.tar.bz2 mpv-6d2e21b2735098d4491ad5c47fdb6f2d2a770c37.tar.xz |
10l, init priv->X at right place
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8936 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_sdl.c')
-rw-r--r-- | libvo/vo_sdl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_sdl.c b/libvo/vo_sdl.c index 958514a706..5b0e9c5607 100644 --- a/libvo/vo_sdl.c +++ b/libvo/vo_sdl.c @@ -834,7 +834,6 @@ config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uin aspect_save_prescale(d_width ? d_width : width, d_height ? d_height : height); /* Save the original Image size */ - priv->X = 0; priv->width = width; priv->height = height; priv->dstwidth = d_width ? d_width : width; @@ -1609,6 +1608,7 @@ static uint32_t preinit(const char *arg) SDL_VideoDriverName(priv->driver, 8); printf("SDL: Using driver: %s\n", priv->driver); + priv->X = 0; #ifdef HAVE_X11 XDisplay = XOpenDisplay(NULL); if(XDisplay) { |