Skip to content

Commit

Permalink
Remove border in window mode
Browse files Browse the repository at this point in the history
  • Loading branch information
elishacloud committed Nov 3, 2024
1 parent 59531a2 commit 0756c5b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dllmain/BuildNo.rc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define BUILD_NUMBER 7255
#define BUILD_NUMBER 7256
4 changes: 2 additions & 2 deletions d3d9/IDirect3D9Ex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -674,9 +674,9 @@ void AdjustWindow(HWND MainhWnd, LONG displayWidth, LONG displayHeight, bool isW
{
lStyle |= WS_OVERLAPPEDWINDOW;
}
else if (Config.FullscreenWindowMode)
else if (Config.EnableWindowMode)
{
lStyle &= ~WS_OVERLAPPEDWINDOW;
lStyle &= ~(WS_OVERLAPPEDWINDOW | WS_BORDER);
}

// Set window style
Expand Down

0 comments on commit 0756c5b

Please sign in to comment.