Skip to content

Commit

Permalink
fix hidpi for windows (tested)
Browse files Browse the repository at this point in the history
  • Loading branch information
Etaash-mathamsetty committed May 10, 2022
1 parent a2ab092 commit bb02ad5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions trigger-control.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ int main(int argc, char **argv)
#ifdef _WIN32
strcpy(CONFIG_PATH, getenv("APPDATA"));
strcat(CONFIG_PATH, "\\trigger-control\\");
ImGui_ImplWin32_EnableDpiAwareness();
#endif
const size_t config_size = 10;
char *config = (char *)alloca(sizeof(char) * config_size);
Expand Down

0 comments on commit bb02ad5

Please sign in to comment.