diff options
author | Bastiaan Olij <mux213@gmail.com> | 2019-11-10 19:30:20 +1100 |
---|---|---|
committer | Bastiaan Olij <mux213@gmail.com> | 2019-11-11 21:02:06 +1100 |
commit | 4e2343160c6a6aefa5f6422620a6f90de255eeb1 (patch) | |
tree | 634544bec83d9239176e097da1e193526b311810 /drivers/gles3/rasterizer_storage_gles3.cpp | |
parent | 94f00eb6c5323dff933a4985b60e8ebf9391f940 (diff) |
Add special external MSAA modes for GLES2 Rift S/Quest and OpenXR optimisation
Diffstat (limited to 'drivers/gles3/rasterizer_storage_gles3.cpp')
-rw-r--r-- | drivers/gles3/rasterizer_storage_gles3.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gles3/rasterizer_storage_gles3.cpp b/drivers/gles3/rasterizer_storage_gles3.cpp index f94020b918..71737426a9 100644 --- a/drivers/gles3/rasterizer_storage_gles3.cpp +++ b/drivers/gles3/rasterizer_storage_gles3.cpp @@ -6961,7 +6961,7 @@ void RasterizerStorageGLES3::_render_target_allocate(RenderTarget *rt) { rt->buffers.active = true; - static const int msaa_value[] = { 0, 2, 4, 8, 16 }; + static const int msaa_value[] = { 0, 2, 4, 8, 16, 4, 16 }; // MSAA_EXT_nX is a GLES2 temporary hack ignored in GLES3 for now... int msaa = msaa_value[rt->msaa]; int max_samples = 0; |