comparison src/video/SDL_surface.c @ 1724:6c63fc2bd986 SDL-1.3

Proof of concept done - Win32 GDI implementation mostly complete.
author Sam Lantinga <slouken@libsdl.org>
date Thu, 06 Jul 2006 07:17:11 +0000
parents a1ebb17f9c52
children 8dd28c4ef746
comparison
equal deleted inserted replaced
1723:4bdbb9b2bd0a 1724:6c63fc2bd986
416 416
417 /* 417 /*
418 * A function to calculate the intersection of two rectangles: 418 * A function to calculate the intersection of two rectangles:
419 * return true if the rectangles intersect, false otherwise 419 * return true if the rectangles intersect, false otherwise
420 */ 420 */
421 static __inline__ SDL_bool 421 SDL_bool
422 SDL_IntersectRect(const SDL_Rect * A, const SDL_Rect * B, 422 SDL_IntersectRect(const SDL_Rect * A, const SDL_Rect * B,
423 SDL_Rect * intersection) 423 SDL_Rect * intersection)
424 { 424 {
425 int Amin, Amax, Bmin, Bmax; 425 int Amin, Amax, Bmin, Bmax;
426 426