diff options
author | chai <chaifix@163.com> | 2018-05-17 19:10:57 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-05-17 19:10:57 +0800 |
commit | 70cdd89e887641b7423e5d4d05928d14ee014aba (patch) | |
tree | 248b87ae35197a9e5941e65ef20eea359e87a5ed /src/render/color.h | |
parent | df4b054b8e8d00f7817daaa4cbf6961712cd0b75 (diff) |
change file tree
Diffstat (limited to 'src/render/color.h')
-rw-r--r-- | src/render/color.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/render/color.h b/src/render/color.h deleted file mode 100644 index dfb02e1..0000000 --- a/src/render/color.h +++ /dev/null @@ -1,27 +0,0 @@ -/** -* Some color operating here. -*/ -#ifndef __JIN_COLOR_H -#define __JIN_COLOR_H -#include "utils/endian.h" - -namespace jin -{ -namespace render -{ - - union color { - struct { -#if JIN_BYTEORDER == JIN_BIG_ENDIAN - unsigned char r, g, b, a; -#else - unsigned char a, b, g, r; -#endif - }rgba; - int word; - }; - -} -} - -#endif |