mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 07:11:54 +00:00
- amend previous commit: add softpoly fix
This commit is contained in:
parent
7c9d8a0b99
commit
6049e806d1
1 changed files with 2 additions and 1 deletions
|
@ -267,7 +267,8 @@ sector_t *PolyFrameBuffer::RenderView(player_t *player)
|
|||
NoInterpolateView = false;
|
||||
|
||||
// Shader start time does not need to be handled per level. Just use the one from the camera to render from.
|
||||
GetRenderState()->CheckTimer(player->camera->Level->ShaderStartTime);
|
||||
if (player->camera)
|
||||
GetRenderState()->CheckTimer(player->camera->Level->ShaderStartTime);
|
||||
// prepare all camera textures that have been used in the last frame.
|
||||
// This must be done for all levels, not just the primary one!
|
||||
for (auto Level : AllLevels())
|
||||
|
|
Loading…
Reference in a new issue