Skip to content

Commit 91dd51d

Browse files
committed
Fix error in PS2 build
1 parent 9e73a34 commit 91dd51d

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/Window.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ Window::Window(const std::string &title, OptionManager * options) : options(opti
4141
}
4242
SDL_DestroyProperties(props);
4343

44-
4544
// Set the refresh rate
4645
if (this->options->getFullscreen()) {
4746
for(SDL_DisplayMode * mode : getDisplayModes()) {
@@ -51,9 +50,7 @@ Window::Window(const std::string &title, OptionManager * options) : options(opti
5150
}
5251
}
5352
}
54-
#ifdef SDL_PLATFORM_PS2
55-
SDL_SetHint(SDL_HINT_PS2_DYNAMIC_VSYNC, "1");
56-
#endif
53+
5754
this->renderer = SDL_CreateRenderer(this->window, nullptr);
5855
if (this->renderer == nullptr) {
5956
panic("couldn't create renderer: " + std::string(SDL_GetError()));

0 commit comments

Comments
 (0)