Rev 1879 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1879 | Rev 5098 | ||
---|---|---|---|
Line -... | Line 1... | ||
- | 1 | #pragma pack(push, 1) |
|
1 | typedef struct |
2 | typedef struct |
2 | { |
3 | { |
3 | int w __attribute__((packed)); |
4 | int w; |
4 | int h __attribute__((packed)); |
5 | int h; |
5 | char *bmp __attribute__((packed)); |
6 | char *bmp; |
6 | char *alpha __attribute__((packed)); |
7 | char *alpha; |
- | 8 | } GB_BMP; |
|
7 | } GB_BMP __attribute__((packed)); |
9 | #pragma pack(pop) |
Line 8... | Line 10... | ||
8 | 10 | ||
9 | 11 | ||
10 | void (* __stdcall gb_pixel_set)(GB_BMP *b, int x, int y, unsigned c); |
12 | void (* __stdcall gb_pixel_set)(GB_BMP *b, int x, int y, unsigned c); |