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:
Diffstat (limited to 'source/blender/gpu/intern/gpu_viewport.c')
-rw-r--r--source/blender/gpu/intern/gpu_viewport.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_viewport.c b/source/blender/gpu/intern/gpu_viewport.c
index 8f0a38c8675..3e9b7da6d79 100644
--- a/source/blender/gpu/intern/gpu_viewport.c
+++ b/source/blender/gpu/intern/gpu_viewport.c
@@ -289,6 +289,7 @@ void GPU_viewport_unbind(GPUViewport *viewport)
GPU_framebuffer_restore();
glEnable(GL_SCISSOR_TEST);
+ glDisable(GL_DEPTH_TEST);
/* This might be bandwidth limiting */
draw_ofs_to_screen(viewport);