summaryrefslogtreecommitdiff
path: root/src/static_libs/rg_etc
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2015-11-26 17:27:01 +0100
committerStefan Schmidt <stefan@osg.samsung.com>2015-11-26 17:27:01 +0100
commit7b86b1c374612aba09b646a647208577918cfeec (patch)
tree59ed8dfb9d973e4fe4d0be77a2c1e199df55e95c /src/static_libs/rg_etc
parentbc5c239d2d40d6fd5fff01dfaa38ca6ab68fd217 (diff)
rg_etc: use void to force empty function parameters
We have to use void in a function declaration if we want no function parameters. Using just empty parenthesis means the function takes an unspecified number of parameters. We had it correct for most declarations and this series fixes it for the rest.
Diffstat (limited to 'src/static_libs/rg_etc')
-rw-r--r--src/static_libs/rg_etc/rg_etc1.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static_libs/rg_etc/rg_etc1.h b/src/static_libs/rg_etc/rg_etc1.h
index 6f4b94449b..4a695dc2d0 100644
--- a/src/static_libs/rg_etc/rg_etc1.h
+++ b/src/static_libs/rg_etc/rg_etc1.h
@@ -28,7 +28,7 @@ typedef struct
28 28
29// pack_etc1_block_init() should be called before calling pack_etc1_block(), 29// pack_etc1_block_init() should be called before calling pack_etc1_block(),
30// Otherwise rg_etc1_pack_block() will call rg_etc1_pack_block_init() for you. 30// Otherwise rg_etc1_pack_block() will call rg_etc1_pack_block_init() for you.
31void rg_etc1_pack_block_init(); 31void rg_etc1_pack_block_init(void);
32 32
33// Packs a 4x4 block of 32bpp BGRA pixels to an 8-byte ETC1 block. 33// Packs a 4x4 block of 32bpp BGRA pixels to an 8-byte ETC1 block.
34// 32-bit BGRA pixels must always be arranged as (B,G,R,A) (B first, A last) in memory, independent of platform endianness. A should always be 255. 34// 32-bit BGRA pixels must always be arranged as (B,G,R,A) (B first, A last) in memory, independent of platform endianness. A should always be 255.