diff options
author | Bastiaan Olij <mux213@gmail.com> | 2022-09-12 11:07:51 +1000 |
---|---|---|
committer | Bastiaan Olij <mux213@gmail.com> | 2022-09-12 11:07:51 +1000 |
commit | b519d7619ca7610531483d1d95511ecdbb0b03c0 (patch) | |
tree | e9b3f20bc4a855fe381ea2d6dc3baffbe36d52e8 /servers/rendering/renderer_rd/forward_clustered | |
parent | 200b9cde88da485659a6376266af8e9bf7be186f (diff) |
Fixed MSAA initialisation in clustered forward renderer
Diffstat (limited to 'servers/rendering/renderer_rd/forward_clustered')
-rw-r--r-- | servers/rendering/renderer_rd/forward_clustered/render_forward_clustered.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/rendering/renderer_rd/forward_clustered/render_forward_clustered.cpp b/servers/rendering/renderer_rd/forward_clustered/render_forward_clustered.cpp index a0f6e69fd5..984eb12a9c 100644 --- a/servers/rendering/renderer_rd/forward_clustered/render_forward_clustered.cpp +++ b/servers/rendering/renderer_rd/forward_clustered/render_forward_clustered.cpp @@ -124,7 +124,7 @@ void RenderForwardClustered::RenderBufferDataForwardClustered::configure(RenderS render_buffers = p_render_buffers; ERR_FAIL_NULL(render_buffers); - bool msaa_3d = render_buffers->get_msaa_3d(); + RS::ViewportMSAA msaa_3d = render_buffers->get_msaa_3d(); if (msaa_3d != RS::VIEWPORT_MSAA_DISABLED) { RD::DataFormat format = RD::DATA_FORMAT_R16G16B16A16_SFLOAT; |