Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Bakker <j.bakker@atmind.nl>2019-03-26 17:06:29 +0300
committerJeroen Bakker <j.bakker@atmind.nl>2019-03-26 17:07:05 +0300
commit33a759a39c9493dd2c89068107e697e0d84a81b2 (patch)
treecdadead7ff6850b4c327231c80abdad70b3bfdc9 /source/blender/draw/DRW_engine.h
parentfb96dcd71395b5bb9b4f37c822cac802c98ebb42 (diff)
Revert "DRW Manager: create and use new DRW_framebuffer_depth_read utility."
This reverts commit 40f8f445a3f9b6bc24b58e45be46060cc36c0394. There are many paths that lead to uninitialized depth buffer where the depth read would fail. Fix T62965
Diffstat (limited to 'source/blender/draw/DRW_engine.h')
-rw-r--r--source/blender/draw/DRW_engine.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/draw/DRW_engine.h b/source/blender/draw/DRW_engine.h
index 94d1bc61b57..68d4ef04f95 100644
--- a/source/blender/draw/DRW_engine.h
+++ b/source/blender/draw/DRW_engine.h
@@ -126,7 +126,6 @@ void DRW_draw_depth_loop(
void DRW_framebuffer_select_id_setup(struct ARegion *ar, const bool clear);
void DRW_framebuffer_select_id_release(struct ARegion *ar);
void DRW_framebuffer_select_id_read(const struct rcti *rect, uint *r_buf);
-void DRW_framebuffer_depth_read(const struct rcti *rect, float *r_buf);
/* grease pencil render */
bool DRW_render_check_grease_pencil(struct Depsgraph *depsgraph);