10l, init priv->X at right place

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8936 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
atmos4 2003-01-13 01:20:21 +00:00
parent c4ff07d559
commit 6d2e21b273
1 changed files with 1 additions and 1 deletions

View File

@ -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) {