include/SDL_stdinc.h
branchSDL-1.2
changeset 4182 6512a61c2c73
parent 4159 a1b03ba2fcd0
child 4217 4c4113c2162c
equal deleted inserted replaced
4181:cc865a058a0c 4182:6512a61c2c73
   257 do {						\
   257 do {						\
   258 	unsigned _count = (len);		\
   258 	unsigned _count = (len);		\
   259 	unsigned _n = (_count + 3) / 4;		\
   259 	unsigned _n = (_count + 3) / 4;		\
   260 	Uint32 *_p = (Uint32 *)(dst);		\
   260 	Uint32 *_p = (Uint32 *)(dst);		\
   261 	Uint32 _val = (val);			\
   261 	Uint32 _val = (val);			\
       
   262 	if (len == 0) break;			\
   262         switch (_count % 4) {			\
   263         switch (_count % 4) {			\
   263         case 0: do {    *_p++ = _val;		\
   264         case 0: do {    *_p++ = _val;		\
   264         case 3:         *_p++ = _val;		\
   265         case 3:         *_p++ = _val;		\
   265         case 2:         *_p++ = _val;		\
   266         case 2:         *_p++ = _val;		\
   266         case 1:         *_p++ = _val;		\
   267         case 1:         *_p++ = _val;		\