summaryrefslogtreecommitdiff
path: root/modules/etc1
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-01-14 12:26:56 +0100
committerRémi Verschelde <rverschelde@gmail.com>2017-01-14 14:52:23 +0100
commit93ab45b6b5c4f8e0619e963156c983009d399a9d (patch)
tree80e55993f29ad7bf502ef7388eef78114b2dc4ab /modules/etc1
parent78e90ac60b81f17fdf8c319357f16962e92e6106 (diff)
Style: Fix whole-line commented code
They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
Diffstat (limited to 'modules/etc1')
-rw-r--r--modules/etc1/image_etc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/etc1/image_etc.cpp b/modules/etc1/image_etc.cpp
index 845084fef7..36ff1b86df 100644
--- a/modules/etc1/image_etc.cpp
+++ b/modules/etc1/image_etc.cpp
@@ -138,13 +138,13 @@ static void _compress_etc(Image *p_img) {
uint8_t *dst = &w[dst_data.size()-mmsize];
-// print_line("bh: "+itos(bh)+" bw: "+itos(bw));
+ //print_line("bh: "+itos(bh)+" bw: "+itos(bw));
for(int y=0;y<bh;y++) {
for(int x=0;x<bw;x++) {
-// print_line("x: "+itos(x)+" y: "+itos(y));
+ //print_line("x: "+itos(x)+" y: "+itos(y));
uint8_t block[4*4*4];
zeromem(block,4*4*4);