ioquake / ioq3

The ioquake3 community effort to continue supporting/developing id's Quake III Arena
https://ioquake3.org/
GNU General Public License v2.0
2.38k stars 528 forks source link

Fix web client vid_restart with r_mode -2 #676

Closed zturtleman closed 3 months ago

zturtleman commented 3 months ago

If getting the display index of the existing window fails, fallback to the default display size instead of falling back to 640x480.

emscripten r_mode -2 worked on window creation but vid_restart fellback to 640x480.