Added missing WIN_ReleaseWndPtr.

This commit is contained in:
Alexandre Julliard 2001-01-13 01:01:35 +00:00
parent 728702e6ef
commit 472d410c8b
1 changed files with 1 additions and 0 deletions

View File

@ -341,6 +341,7 @@ XVidMode_DirectDraw_SetDisplayMode(LPDIRECTDRAW7 iface, DWORD dwWidth,
XF86VidModeModeInfo* new_mode;
WND *tmpWnd = WIN_FindWndPtr(This->window);
Window x11Wnd = X11DRV_WND_GetXWindow(tmpWnd);
WIN_ReleaseWndPtr(tmpWnd);
new_mode = choose_mode(dwWidth, dwHeight, dwRefreshRate, dwFlags);