comparison src/video/SDL_surface.c @ 1720:a1ebb17f9c52 SDL-1.3

Cleaned up a bunch of warnings, started adding Win32 event support
author Sam Lantinga <slouken@libsdl.org>
date Fri, 30 Jun 2006 05:42:49 +0000
parents 396a35389351
children 6c63fc2bd986
comparison
equal deleted inserted replaced
1719:5b9f50c957ed 1720:a1ebb17f9c52
37 SDL_Surface * 37 SDL_Surface *
38 SDL_CreateRGBSurface(Uint32 flags, 38 SDL_CreateRGBSurface(Uint32 flags,
39 int width, int height, int depth, 39 int width, int height, int depth,
40 Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask) 40 Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask)
41 { 41 {
42 SDL_Surface *screen;
43 SDL_Surface *surface; 42 SDL_Surface *surface;
44 43
45 /* FIXME!! */ 44 /* FIXME!! */
46 /* Make sure the size requested doesn't overflow our datatypes */ 45 /* Make sure the size requested doesn't overflow our datatypes */
47 /* Next time I write a library like SDL, I'll use int for size. :) */ 46 /* Next time I write a library like SDL, I'll use int for size. :) */