mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-25 13:21:36 +00:00
Add a fix for the clash between bboxes and polygons (#197)
This commit is contained in:
parent
25f1915fbf
commit
3adec5d0a5
1 changed files with 9 additions and 0 deletions
|
@ -2892,6 +2892,15 @@ void CLQ1_AddVisibleBBoxes(void)
|
|||
shader_t *s;
|
||||
vec3_t min, max, size;
|
||||
|
||||
#pragma message("Temporary Code: BBoxes calling R2D_Flush")
|
||||
/*
|
||||
* HACK(fhomolka): For some reason, bboxes like to mess with progs-drawn Polygons.
|
||||
* The clean way would be to understand WHY they mess with eachother, for now this must do.
|
||||
* TODO(fhomolka)
|
||||
* Comment by Spike: "qc's polys should have been flushed inside renderscene"
|
||||
*/
|
||||
if(R2D_Flush) R2D_Flush();
|
||||
|
||||
switch(r_showbboxes.ival & 3)
|
||||
{
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue