CLIENT: Don't vid_reload on WebGL, corrupts modelindex

This commit is contained in:
Steam Deck User 2023-03-12 12:42:42 -04:00
parent 7baadb907d
commit be12ee3ca9

View file

@ -191,7 +191,9 @@ noref void(float apiver, string enginename, float enginever) CSQC_Init =
}
// force a vid_reload as a hack for gl_blendsprites fte bug
localcmd("vid_reload\n");
// don't do this on WebGL since it corrupts modelindex for.. some reason..
if (!platform_is_web)
localcmd("vid_reload\n");
};
noref void() CSQC_WorldLoaded =