diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-04-19 08:47:03 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-04-19 08:47:03 +0300 |
commit | 1f5d51e44ecf99f34d8e733559a9312e5ae3ef33 (patch) | |
tree | f8a2465eac96414a4bfe1da812aed48c8e284cb8 /source/blender/gpu/intern/gpu_framebuffer.c | |
parent | 5b45d32f3a4dfaa5f65e7ba59311863bf37c08da (diff) |
Cleanup: style
Diffstat (limited to 'source/blender/gpu/intern/gpu_framebuffer.c')
-rw-r--r-- | source/blender/gpu/intern/gpu_framebuffer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/gpu/intern/gpu_framebuffer.c b/source/blender/gpu/intern/gpu_framebuffer.c index d31ba79d9ed..cb23b436fcb 100644 --- a/source/blender/gpu/intern/gpu_framebuffer.c +++ b/source/blender/gpu/intern/gpu_framebuffer.c @@ -210,8 +210,8 @@ static void gpu_framebuffer_texture_attach_ex(GPUFrameBuffer *fb, GPUTexture *te GPUAttachment *attachment = &fb->attachments[type]; if ((attachment->tex == tex) && - (attachment->mip == mip) && - (attachment->layer == layer)) + (attachment->mip == mip) && + (attachment->layer == layer)) { return; /* Exact same texture already bound here. */ } @@ -543,7 +543,7 @@ void GPU_framebuffer_blit( BLI_assert(GPU_texture_format(read_tex) == GPU_texture_format(write_tex)); } if (GPU_texture_samples(write_tex) != 0 || - GPU_texture_samples(read_tex) != 0) + GPU_texture_samples(read_tex) != 0) { /* Can only blit multisample textures to another texture of the same size. */ BLI_assert((fb_read->width == fb_write->width) && |