diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-09-07 22:08:31 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-09-08 01:02:04 +0300 |
commit | b7a28b315a0ba85f9796845718e578abf5379f7d (patch) | |
tree | 9223c8fb2099c8d8c8d7c35c5cd81d3302491d0b /source/blender/draw/engines/gpencil/gpencil_render.c | |
parent | 97c6c4e478830bd9a38873c5208e1ca37840b69a (diff) |
GPUFramebuffer: Make GPU_framebuffer_read_depth more flexible
This is to make use of it in selection code.
Diffstat (limited to 'source/blender/draw/engines/gpencil/gpencil_render.c')
-rw-r--r-- | source/blender/draw/engines/gpencil/gpencil_render.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/engines/gpencil/gpencil_render.c b/source/blender/draw/engines/gpencil/gpencil_render.c index 5d417d995ac..b18013d742a 100644 --- a/source/blender/draw/engines/gpencil/gpencil_render.c +++ b/source/blender/draw/engines/gpencil/gpencil_render.c @@ -182,6 +182,7 @@ static void GPENCIL_render_result_z(struct RenderLayer *rl, rect->ymin, BLI_rcti_size_x(rect), BLI_rcti_size_y(rect), + GPU_DATA_FLOAT, rp->rect); float winmat[4][4]; |