[Bf-blender-cvs] [a4c154b] viewport_experiments: Disable bound textures just in case they come and bite us somewhere unpleasant.

Antony Riakiotakis noreply at git.blender.org
Fri Jan 2 17:12:50 CET 2015


Commit: a4c154bc5a2e7a6f26185b94cccb31b1c52538d2
Author: Antony Riakiotakis
Date:   Fri Jan 2 17:12:37 2015 +0100
Branches: viewport_experiments
https://developer.blender.org/rBa4c154bc5a2e7a6f26185b94cccb31b1c52538d2

Disable bound textures just in case they come and bite us somewhere
unpleasant.

===================================================================

M	source/blender/gpu/intern/gpu_compositing.c

===================================================================

diff --git a/source/blender/gpu/intern/gpu_compositing.c b/source/blender/gpu/intern/gpu_compositing.c
index bf225e1..d70fa3c 100644
--- a/source/blender/gpu/intern/gpu_compositing.c
+++ b/source/blender/gpu/intern/gpu_compositing.c
@@ -520,6 +520,8 @@ bool GPU_fx_do_composite_pass(GPUFX *fx, float projmat[4][4], bool is_persp, str
 			GPU_texture_unbind(src);
 			GPU_depth_texture_mode(fx->depth_buffer, true, false);
 			GPU_texture_unbind(fx->depth_buffer);
+			GPU_texture_unbind(fx->jitter_buffer);
+			GPU_texture_unbind(fx->ssao_concentric_samples_tex);
 
 			/* may not be attached, in that case this just returns */
 			if (target) {




More information about the Bf-blender-cvs mailing list