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

Fixed calls to SDL_AddRenderDriver()
author Sam Lantinga <slouken@libsdl.org>
date Fri, 04 Dec 2009 08:45:08 +0000
parents 6338b7f2d024
children 64ce267332c6
comparison
equal deleted inserted replaced
3519:1374f9275de9 3520:83518f8fcd61
426 info->texture_formats[info->num_texture_formats++] = 426 info->texture_formats[info->num_texture_formats++] =
427 SDL_PIXELFORMAT_UYVY; 427 SDL_PIXELFORMAT_UYVY;
428 info->texture_formats[info->num_texture_formats++] = 428 info->texture_formats[info->num_texture_formats++] =
429 SDL_PIXELFORMAT_YVYU; 429 SDL_PIXELFORMAT_YVYU;
430 430
431 SDL_AddRenderDriver(0, &DDRAW_RenderDriver); 431 for (i = 0; i < _this->num_displays; ++i)
432 SDL_AddRenderDriver(&_this->displays[i], &DDRAW_RenderDriver);
433 }
432 } 434 }
433 } 435 }
434 436
435 SDL_Renderer * 437 SDL_Renderer *
436 DDRAW_CreateRenderer(SDL_Window * window, Uint32 flags) 438 DDRAW_CreateRenderer(SDL_Window * window, Uint32 flags)