Mercurial > hg > dmlib
comparison src/dmlib.h @ 971:f654435df15e
Rename DMRGBA32 struct to DMColor and remove the original redundant DMColor
struct definition.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 27 Feb 2015 06:10:16 +0200 |
parents | 985225a93aeb |
children | 1b439304ff3c |
comparison
equal
deleted
inserted
replaced
970:6c33c92de066 | 971:f654435df15e |
---|---|
164 #if (SDL_BYTEORDER == SDL_BIG_ENDIAN) | 164 #if (SDL_BYTEORDER == SDL_BIG_ENDIAN) |
165 Uint8 a,g,b,r; | 165 Uint8 a,g,b,r; |
166 #elif (SDL_BYTEORDER == SDL_LIL_ENDIAN) | 166 #elif (SDL_BYTEORDER == SDL_LIL_ENDIAN) |
167 Uint8 r,g,b,a; | 167 Uint8 r,g,b,a; |
168 #endif | 168 #endif |
169 } DMRGBA32; | 169 } DMColor; |
170 | 170 |
171 | 171 |
172 typedef float DMFloat; | 172 typedef float DMFloat; |
173 | 173 |
174 | 174 |