Skip to content

Commit b53a995

Browse files
committed
remove unused function
1 parent 5314957 commit b53a995

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

code/ktxutils/ktxutils.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@
66

77
static const uint8_t KTX_ID[12] = { 0xAB, 'K', 'T', 'X', ' ', '1', '1', 0xBB, '\r', '\n', 0x1A, '\n' };
88

9-
// copied from ddsutils
10-
static inline int is_power_of_two(int w, int h)
11-
{
12-
return ((w && !(w & (w - 1))) && (h && !(h & (h - 1))));
13-
}
14-
159
// BPB ETC/EAC
1610
uint32_t ktx_etc_block_bytes(GLenum internal_format)
1711
{

0 commit comments

Comments
 (0)