- amend previous commit: add softpoly fix

This commit is contained in:
Rachael Alexanderson 2020-03-26 08:48:54 -04:00 committed by Christoph Oelckers
parent 7c9d8a0b99
commit 6049e806d1

View file

@ -267,6 +267,7 @@ sector_t *PolyFrameBuffer::RenderView(player_t *player)
NoInterpolateView = false; NoInterpolateView = false;
// Shader start time does not need to be handled per level. Just use the one from the camera to render from. // Shader start time does not need to be handled per level. Just use the one from the camera to render from.
if (player->camera)
GetRenderState()->CheckTimer(player->camera->Level->ShaderStartTime); GetRenderState()->CheckTimer(player->camera->Level->ShaderStartTime);
// prepare all camera textures that have been used in the last frame. // prepare all camera textures that have been used in the last frame.
// This must be done for all levels, not just the primary one! // This must be done for all levels, not just the primary one!