diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-05-09 22:52:22 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-05-10 00:55:19 +0300 |
commit | 435f5017fafe81b90f59cb41be391f85b770e604 (patch) | |
tree | d90418a553dfb14e0efabcb2cdc2247f0947faa7 /source/blender/gpu/intern/gpu_compositing.c | |
parent | 1413bee158e0703f7fc616bddbc27845ba4be6f5 (diff) |
GPUCompositing: Fix comment and component count.
Diffstat (limited to 'source/blender/gpu/intern/gpu_compositing.c')
-rw-r--r-- | source/blender/gpu/intern/gpu_compositing.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/gpu/intern/gpu_compositing.c b/source/blender/gpu/intern/gpu_compositing.c index 6da71d17d33..f2ceb919a2d 100644 --- a/source/blender/gpu/intern/gpu_compositing.c +++ b/source/blender/gpu/intern/gpu_compositing.c @@ -557,7 +557,7 @@ bool GPU_fx_compositor_initialize_passes( GPU_texture_unbind(fx->dof_nearfar_coc); if (!(fx->dof_near_blur = GPU_texture_create_2D_custom( - fx->dof_downsampled_w, fx->dof_downsampled_h, 2, GPU_RGBA16F, NULL, err_out))) + fx->dof_downsampled_w, fx->dof_downsampled_h, 4, GPU_RGBA16F, NULL, err_out))) { printf("%.256s\n", err_out); cleanup_fx_gl_data(fx, true); @@ -565,7 +565,7 @@ bool GPU_fx_compositor_initialize_passes( } if (!(fx->dof_far_blur = GPU_texture_create_2D_custom( - fx->dof_downsampled_w, fx->dof_downsampled_h, 2, GPU_RGBA16F, NULL, err_out))) + fx->dof_downsampled_w, fx->dof_downsampled_h, 4, GPU_RGBA16F, NULL, err_out))) { printf("%.256s\n", err_out); cleanup_fx_gl_data(fx, true); |