fix poor naming of default offset
This commit is contained in:
parent
90ca2a206b
commit
dcdd743fa4
1 changed files with 6 additions and 6 deletions
|
@ -22,14 +22,14 @@ typedef u_int16_t pixel16;
|
|||
#endif /* HAVE_STDINT_H */
|
||||
|
||||
#if (G_BYTE_ORDER == G_BIG_ENDIAN)
|
||||
#define default_red_shift 0
|
||||
#define default_green_shift 8
|
||||
#define default_blue_shift 16
|
||||
#define default_red_offset 0
|
||||
#define default_green_offset 8
|
||||
#define default_blue_offset 16
|
||||
#define endian MSBFirst
|
||||
#else
|
||||
#define default_red_shift 16
|
||||
#define default_green_shift 8
|
||||
#define default_blue_shift 0
|
||||
#define default_red_offset 16
|
||||
#define default_green_offset 8
|
||||
#define default_blue_offset 0
|
||||
#define endian LSBFirst
|
||||
#endif /* G_BYTE_ORDER == G_BIG_ENDIAN */
|
||||
|
||||
|
|
Loading…
Reference in a new issue