diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2019-01-21 17:21:17 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2019-01-21 17:21:17 +0300 |
commit | 14b5668c6017965df85b633a0f1cae1646a6bb37 (patch) | |
tree | b2b088998bfe0704578087f86e51632a0cfe1437 /source/blender/draw/intern | |
parent | 9bc47ed0f6d0db9e43af30c741a7e5ac347cbecd (diff) |
DRW: Fix corner indices order in clipping plane setup
Fix T60667: Eevee: reflection plane bug in rendered view.
Diffstat (limited to 'source/blender/draw/intern')
-rw-r--r-- | source/blender/draw/intern/draw_manager_exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_manager_exec.c b/source/blender/draw/intern/draw_manager_exec.c index 21647d54eea..0c134bd47b2 100644 --- a/source/blender/draw/intern/draw_manager_exec.c +++ b/source/blender/draw/intern/draw_manager_exec.c @@ -555,7 +555,7 @@ static void draw_clipping_setup_from_view(void) default: q = 4; r = 7; s = 6; break; /* +X */ } if (DST.frontface == GL_CW) { - SWAP(int, q, r); + SWAP(int, q, s); } normal_quad_v3(DST.clipping.frustum_planes[p], bbox.vec[p], bbox.vec[q], bbox.vec[r], bbox.vec[s]); |