mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 09:23:24 +00:00
plug-ins: comment out unused function.
Fix warning: > plug-ins/file-dds/dxt.c:113:1: warning: unused function 'pack_rgb565' I don't just remove it as I guess it may be of use at some point for a not-yet fully implemented feature yet?
This commit is contained in:
parent
8900967a81
commit
b01b2e2683
1 changed files with 4 additions and 0 deletions
|
@ -108,6 +108,9 @@ extract_block (const unsigned char *src,
|
|||
}
|
||||
}
|
||||
|
||||
#if 0
|
||||
/* Currently unused, hidden to avoid compilation warnings. */
|
||||
|
||||
/* pack BGR8 to RGB565 */
|
||||
static inline unsigned short
|
||||
pack_rgb565 (const unsigned char *c)
|
||||
|
@ -116,6 +119,7 @@ pack_rgb565 (const unsigned char *c)
|
|||
(mul8bit(c[1], 63) << 5) |
|
||||
(mul8bit(c[0], 31) );
|
||||
}
|
||||
#endif
|
||||
|
||||
/* unpack RGB565 to BGR */
|
||||
static void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue