hyperweb:: auto-resizing

This commit is contained in:
Zeno Rogue committed 2020-10-15 16:35:44 +02:00
1 parent e881f3b8cb
commit 052854ec74
2 files changed
+32 -2

No files matched your search

+1 -2
View File
@@ -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;