Skip to content

Commit

Permalink
- fix black cam texture on HUD
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/gl/renderer/gl_scene.cpp
  • Loading branch information
dpjudas authored and coelckers committed Jan 12, 2019
1 parent 9addc4c commit def5571
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/gl/renderer/gl_scene.cpp
Expand Up @@ -152,6 +152,9 @@ sector_t * FGLRenderer::RenderViewpoint (FRenderViewpoint &mainvp, AActor * came
{
R_SetupFrame (mainvp, r_viewwindow, camera);

if (mainview && toscreen)
UpdateShadowMap(camera->Level);

// Render (potentially) multiple views for stereo 3d
// Fixme. The view offsetting should be done with a static table and not require setup of the entire render state for the mode.
auto vrmode = VRMode::GetVRMode(mainview && toscreen);
Expand Down

0 comments on commit def5571

Please sign in to comment.