Skip to content

Commit

Permalink
[Windows] Fix Window::reposition swapping top and left params
Browse files Browse the repository at this point in the history
Thanks to user ExPeTe for the report
  • Loading branch information
darksylinc committed Jul 19, 2020
1 parent fc5dadc commit 983f910
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -498,7 +498,7 @@ namespace Ogre
{
if( mHwnd && !mRequestedFullscreenMode )
{
SetWindowPos( mHwnd, 0, top, left, 0, 0,
SetWindowPos( mHwnd, 0, left, top, 0, 0,
SWP_NOSIZE | SWP_NOZORDER | SWP_NOACTIVATE );
}
}
Expand Down
Expand Up @@ -751,7 +751,7 @@ namespace Ogre
{
if( mHwnd && !mRequestedFullscreenMode )
{
SetWindowPos( mHwnd, 0, top, left, 0, 0,
SetWindowPos( mHwnd, 0, left, top, 0, 0,
SWP_NOSIZE | SWP_NOZORDER | SWP_NOACTIVATE );
}
}
Expand Down

0 comments on commit 983f910

Please sign in to comment.