summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/TextureEncoder.cpp
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2014-03-10 23:40:16 +0100
committerPierre Bourdon <delroth@gmail.com>2014-03-10 23:40:16 +0100
commitede46556d9b5043113e19359fee97eb09f9c872c (patch)
tree54442e504fc06d44e80a7351be46a1fead5ad356 /Source/Core/VideoBackends/Software/TextureEncoder.cpp
parent52ed10213d085caec6007ae3b3856e50f282c756 (diff)
parent31cfc73a09a8685cbab20502b4bc132e98e2feb5 (diff)
Merge pull request #155 from Parlane/codestyle_fixes
Fixes spacing for "for", "while", "switch" and "if"
Diffstat (limited to 'Source/Core/VideoBackends/Software/TextureEncoder.cpp')
-rw-r--r--Source/Core/VideoBackends/Software/TextureEncoder.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/Core/VideoBackends/Software/TextureEncoder.cpp b/Source/Core/VideoBackends/Software/TextureEncoder.cpp
index 6c24257fe3..cf99dbf911 100644
--- a/Source/Core/VideoBackends/Software/TextureEncoder.cpp
+++ b/Source/Core/VideoBackends/Software/TextureEncoder.cpp
@@ -261,7 +261,7 @@ void EncodeRGBA6(u8 *dst, u8 *src, u32 format)
u32 readStride = 3;
u8 *dstBlockStart = dst;
- switch(format)
+ switch (format)
{
case GX_TF_I4:
SetBlockDimensions(3, 3, sBlkCount, tBlkCount, sBlkSize, tBlkSize);
@@ -498,7 +498,7 @@ void EncodeRGBA6halfscale(u8 *dst, u8 *src, u32 format)
u32 readStride = 6;
u8 *dstBlockStart = dst;
- switch(format)
+ switch (format)
{
case GX_TF_I4:
SetBlockDimensions(3, 3, sBlkCount, tBlkCount, sBlkSize, tBlkSize);
@@ -732,7 +732,7 @@ void EncodeRGB8(u8 *dst, u8 *src, u32 format)
u32 readStride = 3;
u8 *dstBlockStart = dst;
- switch(format)
+ switch (format)
{
case GX_TF_I4:
SetBlockDimensions(3, 3, sBlkCount, tBlkCount, sBlkSize, tBlkSize);
@@ -947,7 +947,7 @@ void EncodeRGB8halfscale(u8 *dst, u8 *src, u32 format)
u32 readStride = 6;
u8 *dstBlockStart = dst;
- switch(format)
+ switch (format)
{
case GX_TF_I4:
SetBlockDimensions(3, 3, sBlkCount, tBlkCount, sBlkSize, tBlkSize);
@@ -1177,7 +1177,7 @@ void EncodeZ24(u8 *dst, u8 *src, u32 format)
u32 readStride = 3;
u8 *dstBlockStart = dst;
- switch(format)
+ switch (format)
{
case GX_TF_Z8:
SetBlockDimensions(3, 2, sBlkCount, tBlkCount, sBlkSize, tBlkSize);
@@ -1282,7 +1282,7 @@ void EncodeZ24halfscale(u8 *dst, u8 *src, u32 format)
u8 r, g, b;
u8 *dstBlockStart = dst;
- switch(format)
+ switch (format)
{
case GX_TF_Z8:
SetBlockDimensions(3, 2, sBlkCount, tBlkCount, sBlkSize, tBlkSize);