From 8047127bc642d0074db0dd8982c2d28ab524f299 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Wed, 6 Sep 2017 23:02:06 -0300 Subject: [PATCH] Force redraw when HDR auto exposure is enable in all frames, fixes #10784 --- drivers/gles3/rasterizer_scene_gles3.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gles3/rasterizer_scene_gles3.cpp b/drivers/gles3/rasterizer_scene_gles3.cpp index 2615f9c1b3d..b695b7e7046 100644 --- a/drivers/gles3/rasterizer_scene_gles3.cpp +++ b/drivers/gles3/rasterizer_scene_gles3.cpp @@ -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;