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.42k stars 529 forks source link

Fix web client vid_restart with r_mode -2 #676

Closed zturtleman closed 5 months ago

zturtleman commented 5 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.