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:
authorClément Foucault <foucault.clem@gmail.com>2017-04-03 12:53:09 +0300
committerClément Foucault <foucault.clem@gmail.com>2017-04-03 22:52:03 +0300
commit8e0bfee1e5e68a4208a10951586d1b7504222a89 (patch)
tree3eed9535d2772d4a198d9e4ef2d599d6654c5806 /source/blender/gpu/intern/gpu_viewport.c
parent46cd87f5da6338577581055c6b0f453e29c7bc49 (diff)
Draw Manager: Fix glBlitFramebuffer error
Diffstat (limited to 'source/blender/gpu/intern/gpu_viewport.c')
-rw-r--r--source/blender/gpu/intern/gpu_viewport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_viewport.c b/source/blender/gpu/intern/gpu_viewport.c
index dfd84b34c67..659a9cea825 100644
--- a/source/blender/gpu/intern/gpu_viewport.c
+++ b/source/blender/gpu/intern/gpu_viewport.c
@@ -214,7 +214,7 @@ void GPU_viewport_bind(GPUViewport *viewport, const rcti *rect)
}
/* Depth */
- dtxl->depth = GPU_texture_create_depth_with_stencil(rect_w, rect_h, NULL);
+ dtxl->depth = GPU_texture_create_depth(rect_w, rect_h, NULL);
if (!dtxl->depth) {
ok = false;
goto cleanup;