diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2019-05-22 17:09:03 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2019-05-22 17:09:10 +0300 |
commit | 8b52619ff82279e1e97785e2352ed9f4782a3741 (patch) | |
tree | b6bbad522e460c5fa7a83d9c7ca0e2780ac0e61f /source/blender/draw/intern/DRW_render.h | |
parent | d10bab71602634ff1ca5ed97fbd4ba9f3964cdc5 (diff) |
DRW/Eevee: Fix camera texture coordinates in renders
This patch fix the issue introduced by recent refactor and fixes
computation when using overscans.
Diffstat (limited to 'source/blender/draw/intern/DRW_render.h')
-rw-r--r-- | source/blender/draw/intern/DRW_render.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/intern/DRW_render.h b/source/blender/draw/intern/DRW_render.h index 938f9921972..0f019df9d86 100644 --- a/source/blender/draw/intern/DRW_render.h +++ b/source/blender/draw/intern/DRW_render.h @@ -548,6 +548,7 @@ void DRW_view_default_set(DRWView *view); void DRW_view_set_active(DRWView *view); void DRW_view_clip_planes_set(DRWView *view, float (*planes)[4], int plane_len); +void DRW_view_camtexco_set(DRWView *view, float texco[4]); /* For all getters, if view is NULL, default view is assumed. */ void DRW_view_winmat_get(const DRWView *view, float mat[4][4], bool inverse); |