Skip to content

Commit

Permalink
Try fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
JustDoom committed Feb 5, 2025
1 parent 197fa39 commit 634b90e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
run: |
mkdir -p build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake .. -DSDLTTF_VENDORED=ON -DCMAKE_BUILD_TYPE=Release
- name: Build CMake
run: |
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
run: |
mkdir -p build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -D CMAKE_SYSTEM_VERSION=10.0.26100.0
cmake .. -DSDLTTF_VENDORED=ON -DCMAKE_BUILD_TYPE=Release -D CMAKE_SYSTEM_VERSION=10.0.26100.0
- name: Build CMake
run: |
Expand Down
2 changes: 1 addition & 1 deletion src/sdl/MainMenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ void MainMenu::init() {
SDL_Log("Failed to create text: %s\n", SDL_GetError());
return;
}
this->chooseFolder = std::make_unique<TextButton>(0, 400, WIDTH, 80, text);
this->chooseFolder = std::make_unique<TextButton>(0.0f, 400.0f, static_cast<float>(WIDTH), 80.0f, text);
}

bool MainMenu::handleEvent(SDL_Event &event) {
Expand Down

0 comments on commit 634b90e

Please sign in to comment.