Force redraw when HDR auto exposure is enable in all frames, fixes #10784

This commit is contained in:
Juan Linietsky 2017-09-06 23:02:06 -03:00
parent 98af411a37
commit 8047127bc6

View file

@ -3739,6 +3739,8 @@ void RasterizerSceneGLES3::_post_process(Environment *env, const CameraMatrix &p
SWAP(exposure_shrink[exposure_shrink.size() - 1].color, storage->frame.current_rt->exposure.color);
glViewport(0, 0, storage->frame.current_rt->width, storage->frame.current_rt->height);
VisualServerRaster::redraw_request(); //if using auto exposure, redraw must happen
}
int max_glow_level = -1;