Skip to content

Commit

Permalink
fix: disable window resize
Browse files Browse the repository at this point in the history
  • Loading branch information
amhndu committed Jan 5, 2025
1 parent 228c1d4 commit 154a2fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Emulator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ namespace sn
m_ppu.reset();

m_window.create(sf::VideoMode(NESVideoWidth * m_screenScale, NESVideoHeight * m_screenScale),
"SimpleNES", sf::Style::Titlebar | sf::Style::Close | sf::Style::Resize);
"SimpleNES", sf::Style::Titlebar | sf::Style::Close);
m_window.setVerticalSyncEnabled(true);
m_emulatorScreen.create(NESVideoWidth, NESVideoHeight, m_screenScale, sf::Color::White);

Expand Down

0 comments on commit 154a2fd

Please sign in to comment.