guarded font::decode_pixel by #ifndef _Win32...

...to remove a warning on windows
This commit is contained in:
Anonymissimus 2011-05-28 12:18:12 +00:00
parent c2336806ec
commit 0035950288

View file

@ -561,6 +561,8 @@ struct decode_table
static decode_table decode_table;
#ifndef _WIN32
/**
* Converts from premultiplied alpha to plain alpha.
* @param p pointer to a 4-byte endian-dependent color.
@ -593,6 +595,8 @@ static void decode_pixel(unsigned char *p)
DECODE(1);
DECODE(2);
}
#endif
void ttext::rerender(const bool force) const
{