Date: Fri, 02 Jan 2009 23:22:39 +0100
From: Couriersud Subject: SDL1.3 Win32 Resize bug the attached diff fixes a bug where width and height were exchanged when resizing a window. --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403430
This commit is contained in:
parent
fea6781d86
commit
cd6f7dd74f
1 changed files with 1 additions and 1 deletions
|
@ -377,7 +377,7 @@ WIN_SetWindowSize(_THIS, SDL_Window * window)
|
||||||
w = (rect.right - rect.left);
|
w = (rect.right - rect.left);
|
||||||
h = (rect.bottom - rect.top);
|
h = (rect.bottom - rect.top);
|
||||||
|
|
||||||
SetWindowPos(hwnd, top, 0, 0, h, w, (SWP_NOCOPYBITS | SWP_NOMOVE));
|
SetWindowPos(hwnd, top, 0, 0, w, h, (SWP_NOCOPYBITS | SWP_NOMOVE));
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue