Skip to content

Commit

Permalink
fix: windowed bordered for resizer
Browse files Browse the repository at this point in the history
borderless just endlessly shrinks lol
  • Loading branch information
ThisAMJ committed Aug 31, 2024
1 parent 26dd2f7 commit 78e5e34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Features/WindowResizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ ON_EVENT(FRAME) {

bool fetchedpos = WindowResizer::GetWindowPos(pos_x, pos_y);
if(fetchedpos)queued_pos_change = true;
engine->ExecuteCommand(Utils::ssprintf("mat_setvideomode %d %d 1", x, y).c_str(), true);
engine->ExecuteCommand(Utils::ssprintf("mat_setvideomode %d %d 1 0", x, y).c_str(), true);
}
}

Expand Down

0 comments on commit 78e5e34

Please sign in to comment.