Skip to content

Commit

Permalink
Don't offset viewport when full screen. #464
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaelangel007 committed Aug 26, 2017
1 parent 0cfc639 commit 7039c2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Frame.cpp
Expand Up @@ -2178,7 +2178,7 @@ void SetFullScreenMode ()
buttonx = GetFullScreenOffsetX() + g_nViewportCX + VIEWPORTX*2;
buttony = GetFullScreenOffsetY();
viewportx = VIEWPORTX;
viewporty = VIEWPORTY;
viewporty = g_bIsFullScreen ? 0 : VIEWPORTY; // GH#464
#endif

// GetWindowRect(g_hFrameWindow,&framerect);
Expand Down

0 comments on commit 7039c2a

Please sign in to comment.