mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-13 12:17:10 +00:00
hyperweb:: auto-resizing
This commit is contained in:
@@ -1151,8 +1151,7 @@ EX void initgraph() {
|
||||
}
|
||||
|
||||
#if ISWEB
|
||||
vid.xscr = vid.xres = 1280;
|
||||
vid.yscr = vid.yres = 900;
|
||||
get_canvas_size();
|
||||
#else
|
||||
const SDL_VideoInfo *inf = SDL_GetVideoInfo();
|
||||
vid.xscr = vid.xres = inf->current_w;
|
||||
|
||||
Reference in New Issue
Block a user