Mercurial > sdl-ios-xcode
comparison src/video/dummy/SDL_nullrender.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 | 1577404809f0 |
children |
comparison
equal
deleted
inserted
replaced
1719:5b9f50c957ed | 1720:a1ebb17f9c52 |
---|---|
48 (SDL_Renderer_Minimal | SDL_Renderer_PresentDiscard | | 48 (SDL_Renderer_Minimal | SDL_Renderer_PresentDiscard | |
49 SDL_Renderer_PresentCopy), | 49 SDL_Renderer_PresentCopy), |
50 SDL_TextureBlendMode_None, | 50 SDL_TextureBlendMode_None, |
51 SDL_TextureScaleMode_None, | 51 SDL_TextureScaleMode_None, |
52 0, | 52 0, |
53 {}, | 53 {0}, |
54 0, | 54 0, |
55 0} | 55 0} |
56 }; | 56 }; |
57 | 57 |
58 typedef struct | 58 typedef struct |
65 { | 65 { |
66 SDL_VideoDisplay *display = SDL_GetDisplayFromWindow(window); | 66 SDL_VideoDisplay *display = SDL_GetDisplayFromWindow(window); |
67 SDL_DisplayMode *displayMode = &display->current_mode; | 67 SDL_DisplayMode *displayMode = &display->current_mode; |
68 SDL_Renderer *renderer; | 68 SDL_Renderer *renderer; |
69 SDL_DUMMY_RenderData *data; | 69 SDL_DUMMY_RenderData *data; |
70 int i, n; | |
71 int bpp; | 70 int bpp; |
72 Uint32 Rmask, Gmask, Bmask, Amask; | 71 Uint32 Rmask, Gmask, Bmask, Amask; |
73 | 72 |
74 if (!SDL_PixelFormatEnumToMasks | 73 if (!SDL_PixelFormatEnumToMasks |
75 (displayMode->format, &bpp, &Rmask, &Gmask, &Bmask, &Amask)) { | 74 (displayMode->format, &bpp, &Rmask, &Gmask, &Bmask, &Amask)) { |