Skip to content

Commit e7468b1

Browse files
committed
Always transform lights in GL_DrawBspModel()
Per-pixel lights use transformed coords as well.
1 parent 4466596 commit e7468b1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/refresh/world.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -430,8 +430,7 @@ void GL_DrawBspModel(mmodel_t *model)
430430
VectorSubtract(glr.fd.vieworg, ent->origin, transformed);
431431
}
432432

433-
if (!gl_backend->use_per_pixel_lighting())
434-
GL_TransformLights(model);
433+
GL_TransformLights(model);
435434

436435
GL_RotateForEntity(gl_static.use_bmodel_skies);
437436

0 commit comments

Comments
 (0)