comparison src/video/gem/SDL_gemmodes.c @ 2199:7e1caa8452f3

indent
author Sam Lantinga <slouken@libsdl.org>
date Sun, 15 Jul 2007 16:59:16 +0000
parents f54670a477bb
children 99210400e8b9
comparison
equal deleted inserted replaced
2198:fe19afb86473 2199:7e1caa8452f3
34 SDL_DisplayMode mode; 34 SDL_DisplayMode mode;
35 int bpp; 35 int bpp;
36 36
37 /* read vdi bpp, rmask, gmask, bmask, amask */ 37 /* read vdi bpp, rmask, gmask, bmask, amask */
38 38
39 mode.format = 39 mode.format = SDL_MasksToPixelFormatEnum(bpp, Rmask, Gmask, Bmask, Amask);
40 SDL_MasksToPixelFormatEnum(bpp, Rmask, Gmask, Bmask, Amask); 40 mode.w = 0 /* vdi width */ ;
41 mode.w = 0 /* vdi width */; 41 mode.h = 0 /* vdi height */ ;
42 mode.h = 0 /* vdi height */;
43 mode.refresh_rate = 0; 42 mode.refresh_rate = 0;
44 mode.driverdata = NULL; 43 mode.driverdata = NULL;
45 44
46 displaydata = (SDL_DisplayData *) SDL_malloc(sizeof(*displaydata)); 45 displaydata = (SDL_DisplayData *) SDL_malloc(sizeof(*displaydata));
47 if (!displaydata) { 46 if (!displaydata) {