mirror of
https://github.com/Zelda64Recomp/Zelda64Recomp.git
synced 2026-05-02 15:11:41 +00:00
move TODO to the right place
This commit is contained in:
parent
17b8b4445b
commit
9112d9270f
1 changed files with 2 additions and 2 deletions
|
|
@ -109,9 +109,9 @@ SDL_Window* window;
|
||||||
|
|
||||||
ultramodern::WindowHandle create_window(ultramodern::gfx_callbacks_t::gfx_data_t) {
|
ultramodern::WindowHandle create_window(ultramodern::gfx_callbacks_t::gfx_data_t) {
|
||||||
window = SDL_CreateWindow("Zelda 64: Recompiled", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, 1600, 960, SDL_WINDOW_RESIZABLE );
|
window = SDL_CreateWindow("Zelda 64: Recompiled", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, 1600, 960, SDL_WINDOW_RESIZABLE );
|
||||||
#if defined(__linux__) // TODO: Remove once RT64 gets native fullscreen support on Linux
|
#if defined(__linux__)
|
||||||
SetImageAsIcon("icons/512.png",window);
|
SetImageAsIcon("icons/512.png",window);
|
||||||
if (ultramodern::get_graphics_config().wm_option == ultramodern::WindowMode::Fullscreen) {
|
if (ultramodern::get_graphics_config().wm_option == ultramodern::WindowMode::Fullscreen) { // TODO: Remove once RT64 gets native fullscreen support on Linux
|
||||||
SDL_SetWindowFullscreen(window,SDL_WINDOW_FULLSCREEN_DESKTOP);
|
SDL_SetWindowFullscreen(window,SDL_WINDOW_FULLSCREEN_DESKTOP);
|
||||||
} else {
|
} else {
|
||||||
SDL_SetWindowFullscreen(window,SDL_WINDOW_BORDERLESS);
|
SDL_SetWindowFullscreen(window,SDL_WINDOW_BORDERLESS);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue