- fix black cam texture on HUD

# Conflicts:
#	src/gl/renderer/gl_scene.cpp
This commit is contained in:
Magnus Norddahl 2019-01-11 19:53:30 +01:00 committed by Christoph Oelckers
parent d3205f46a8
commit c8ba84dc33

View file

@ -152,7 +152,8 @@ sector_t * FGLRenderer::RenderViewpoint (FRenderViewpoint &mainvp, AActor * came
{
R_SetupFrame (mainvp, r_viewwindow, camera);
UpdateShadowMap();
if (mainview && toscreen)
UpdateShadowMap();
// 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.