summaryrefslogtreecommitdiff
path: root/src/static_libs
diff options
context:
space:
mode:
authorJean Guyomarc'h <jean@guyomarch.bzh>2016-05-18 21:27:58 +0200
committerJean Guyomarc'h <jean@guyomarch.bzh>2016-05-18 21:57:02 +0200
commit147ef32b2bbb817c336425d1c64b4a092e64e8dc (patch)
tree5210234fef460c9029c989645baa9ee16de30150 /src/static_libs
parent64ce45b9b416711aa9fe08159d68f2f2d6c18a33 (diff)
efl: fix misleading indentation
GCC's -Wmisleading-indentation is complaining... It is a warning flag introduced in GCC 6.x, and is enabled by -Wall.
Diffstat (limited to 'src/static_libs')
-rw-r--r--src/static_libs/rg_etc/rg_etc1.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/static_libs/rg_etc/rg_etc1.c b/src/static_libs/rg_etc/rg_etc1.c
index cff0094..e17eb88 100644
--- a/src/static_libs/rg_etc/rg_etc1.c
+++ b/src/static_libs/rg_etc/rg_etc1.c
@@ -2797,9 +2797,12 @@ rg_etc1_pack_block(void* pETC1_block, const unsigned int* pSrc_pixels_BGRA, rg_e
2797 } 2797 }
2798 else 2798 else
2799 { 2799 {
2800 if (dr < 0) dr += 8; dst_block[0] = (uint8)((best_results[0].m_block_color_unscaled.comp.r << 3) | dr); 2800 if (dr < 0) dr += 8;
2801 if (dg < 0) dg += 8; dst_block[1] = (uint8)((best_results[0].m_block_color_unscaled.comp.g << 3) | dg); 2801 dst_block[0] = (uint8)((best_results[0].m_block_color_unscaled.comp.r << 3) | dr);
2802 if (db < 0) db += 8; dst_block[2] = (uint8)((best_results[0].m_block_color_unscaled.comp.b << 3) | db); 2802 if (dg < 0) dg += 8;
2803 dst_block[1] = (uint8)((best_results[0].m_block_color_unscaled.comp.g << 3) | dg);
2804 if (db < 0) db += 8;
2805 dst_block[2] = (uint8)((best_results[0].m_block_color_unscaled.comp.b << 3) | db);
2803 } 2806 }
2804 2807
2805 dst_block[3] = (uint8)((best_results[1].m_block_inten_table << 2) | 2808 dst_block[3] = (uint8)((best_results[1].m_block_inten_table << 2) |