diff options
Diffstat (limited to 'source/blender/gpu/intern/gpu_probe.c')
-rw-r--r-- | source/blender/gpu/intern/gpu_probe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_probe.c b/source/blender/gpu/intern/gpu_probe.c index cc3d24188eb..e1f5583bccb 100644 --- a/source/blender/gpu/intern/gpu_probe.c +++ b/source/blender/gpu/intern/gpu_probe.c @@ -491,7 +491,7 @@ void GPU_probe_rebuild_mipmaps(GPUProbe *probe) GPU_generate_mipmap(GL_TEXTURE_CUBE_MAP); GPU_texture_unbind(probe->tex); } - if (probe->type == GPU_PROBE_PLANAR) { + else if (probe->type == GPU_PROBE_PLANAR) { GPU_texture_bind(probe->texreflect, 0); GPU_generate_mipmap(GL_TEXTURE_2D); GPU_texture_unbind(probe->texreflect); |