Skip to content

Commit 429171d

Browse files
committed
Fix wrong culling with r_showEntityTransforms
Sometimes I look directly at a door and its bbox is not shown. Looks like ent->cull is only used for IQM/MD5/MD3 models.
1 parent 9a9a5c2 commit 429171d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/engine/renderer/tr_backend.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1606,11 +1606,6 @@ static void RB_RenderDebugUtils()
16061606
continue;
16071607
}
16081608

1609-
if ( ent->cull == cullResult_t::CULL_OUT )
1610-
{
1611-
continue;
1612-
}
1613-
16141609
// set up the transformation matrix
16151610
R_RotateEntityForViewParms( ent, &backEnd.viewParms, &backEnd.orientation );
16161611
GL_LoadModelViewMatrix( backEnd.orientation.modelViewMatrix );

0 commit comments

Comments
 (0)