comparison src/video/win32/SDL_gdirender.c @ 3520:83518f8fcd61

Fixed calls to SDL_AddRenderDriver()
author Sam Lantinga <slouken@libsdl.org>
date Fri, 04 Dec 2009 08:45:08 +0000
parents 7f684f249ec9
children 9d129e1d0782
comparison
equal deleted inserted replaced
3519:1374f9275de9 3520:83518f8fcd61
145 } 145 }
146 146
147 void 147 void
148 GDI_AddRenderDriver(_THIS) 148 GDI_AddRenderDriver(_THIS)
149 { 149 {
150 SDL_AddRenderDriver(0, &GDI_RenderDriver); 150 int i;
151 for (i = 0; i < _this->num_displays; ++i) {
152 SDL_AddRenderDriver(&_this->displays[i], &GDI_RenderDriver);
153 }
151 } 154 }
152 155
153 SDL_Renderer * 156 SDL_Renderer *
154 GDI_CreateRenderer(SDL_Window * window, Uint32 flags) 157 GDI_CreateRenderer(SDL_Window * window, Uint32 flags)
155 { 158 {