diff --git a/sc2/src/libs/gfxlib.h b/sc2/src/libs/gfxlib.h index 954435736..df4e828b9 100644 --- a/sc2/src/libs/gfxlib.h +++ b/sc2/src/libs/gfxlib.h @@ -22,6 +22,12 @@ #include "libs/compiler.h" typedef struct Color Color; +struct Color { + BYTE r; + BYTE g; + BYTE b; + BYTE a; // Currently unused +}; #include "libs/reslib.h" @@ -42,13 +48,6 @@ typedef UWORD TIME_VALUE; typedef SWORD COORD; -struct Color { - BYTE r; - BYTE g; - BYTE b; - BYTE a; // Currently unused -}; - static inline bool sameColor(Color c1, Color c2) {