Skip to content

Commit

Permalink
fix ifdef
Browse files Browse the repository at this point in the history
  • Loading branch information
chucksellick committed Mar 8, 2025
1 parent b281218 commit 1aa9c22
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crawl-ref/source/windowmanager-sdl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,8 @@ int SDLWrapper::init(coord_def *m_windowsz)

SDL_DisplayMode display_mode;
SDL_GetDesktopDisplayMode(cur_display, &display_mode);
#ifdef __EMSCRIPTEN

#ifdef __EMSCRIPTEN__
_desktop_width = _browser_viewport_width();
_desktop_height = _browser_viewport_height();
#else
Expand Down

0 comments on commit 1aa9c22

Please sign in to comment.