From 85de548e03fcaf657356382286a7ca6d6fbd30f3 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 16 Apr 2018 17:08:27 +0200 Subject: Cleanup: indentation --- source/blender/imbuf/intern/dds/DirectDrawSurface.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'source/blender/imbuf') diff --git a/source/blender/imbuf/intern/dds/DirectDrawSurface.cpp b/source/blender/imbuf/intern/dds/DirectDrawSurface.cpp index a4281514e39..7c11fca3c34 100644 --- a/source/blender/imbuf/intern/dds/DirectDrawSurface.cpp +++ b/source/blender/imbuf/intern/dds/DirectDrawSurface.cpp @@ -704,11 +704,12 @@ void DDSHeader::setPixelFormat(uint bitcount, uint rmask, uint gmask, uint bmask { // Make sure the masks are correct. if ((rmask & gmask) || - (rmask & bmask) || - (rmask & amask) || - (gmask & bmask) || - (gmask & amask) || - (bmask & amask)) { + (rmask & bmask) || + (rmask & amask) || + (gmask & bmask) || + (gmask & amask) || + (bmask & amask)) + { printf("DDS: bad RGBA masks, pixel format not set\n"); return; } @@ -1068,7 +1069,7 @@ bool DirectDrawSurface::isTexture3D() const } else { - return (header.caps.caps2 & DDSCAPS2_VOLUME) != 0; + return (header.caps.caps2 & DDSCAPS2_VOLUME) != 0; } } -- cgit v1.2.3 From 95eb9f22e69622c5817707fa9534521613e7d7cc Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 16 Apr 2018 17:16:29 +0200 Subject: Cleanup: indentation --- source/blender/imbuf/intern/jp2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/imbuf') diff --git a/source/blender/imbuf/intern/jp2.c b/source/blender/imbuf/intern/jp2.c index 388c2734fe9..30a0fdf4e55 100644 --- a/source/blender/imbuf/intern/jp2.c +++ b/source/blender/imbuf/intern/jp2.c @@ -119,7 +119,7 @@ static void info_callback(const char *msg, void *client_data) # define PIXEL_LOOPER_END \ } \ - } (void)0 \ +} (void)0 \ struct ImBuf *imb_jp2_decode(const unsigned char *mem, size_t size, int flags, char colorspace[IM_MAX_SPACE]) { -- cgit v1.2.3