mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-02 22:11:22 +00:00
Fix host_errors with csqc+r_showbboxes.
This commit is contained in:
parent
69aa507143
commit
0ca6d9ad77
1 changed files with 2 additions and 0 deletions
|
@ -798,6 +798,7 @@ void R_ShowBoundingBoxes (void)
|
|||
glColor3f (1,1,1);
|
||||
|
||||
oldvm = qcvm;
|
||||
PR_SwitchQCVM(NULL);
|
||||
PR_SwitchQCVM(&sv.qcvm);
|
||||
for (i=0, ed=NEXT_EDICT(qcvm->edicts) ; i<qcvm->num_edicts ; i++, ed=NEXT_EDICT(ed))
|
||||
{
|
||||
|
@ -826,6 +827,7 @@ void R_ShowBoundingBoxes (void)
|
|||
}
|
||||
}
|
||||
}
|
||||
PR_SwitchQCVM(NULL);
|
||||
PR_SwitchQCVM(oldvm);
|
||||
|
||||
glColor3f (1,1,1);
|
||||
|
|
Loading…
Reference in a new issue