Windows Fixes

This commit is contained in:
Jack Andersen 2016-09-18 15:03:37 -10:00
parent 8146bed6f1
commit 64a88b3148
1 changed files with 3 additions and 0 deletions

View File

@ -10,6 +10,9 @@
#endif
#include <iostream>
#undef min
#undef max
#if BYTE_ORDER == __ORDER_LITTLE_ENDIAN__
#define COLOR(rgba) \
(unsigned)(((rgba)&0x000000FF) << 24 | ((rgba)&0x0000FF00) << 8 | ((rgba)&0x00FF0000) >> 8 | ((rgba)&0xFF000000) >> 24)