mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-03 06:20:57 +00:00
r_fastsky should skip skyroom drawing too, for people with really slow computers.
This commit is contained in:
parent
17f5210a14
commit
367b799998
1 changed files with 2 additions and 1 deletions
|
@ -1122,7 +1122,8 @@ static qboolean R_SkyroomWasVisible(void)
|
|||
qmodel_t *model = cl.worldmodel;
|
||||
texture_t *t;
|
||||
size_t i;
|
||||
if (!skyroom_enabled)
|
||||
extern cvar_t r_fastsky;
|
||||
if (!skyroom_enabled || r_fastsky.value)
|
||||
return false;
|
||||
for (i=0 ; i<model->numtextures ; i++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue