mirror of
https://github.com/nzp-team/quakec.git
synced 2025-02-16 17:10:55 +00:00
CLIENT: Don't vid_reload on WebGL, corrupts modelindex
This commit is contained in:
parent
7baadb907d
commit
be12ee3ca9
1 changed files with 3 additions and 1 deletions
|
@ -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 =
|
||||
|
|
Loading…
Reference in a new issue