Mercurial > sdl-ios-xcode
comparison src/video/win32/SDL_d3drender.c @ 3520:83518f8fcd61
Fixed calls to SDL_AddRenderDriver()
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 04 Dec 2009 08:45:08 +0000 |
parents | 1374f9275de9 |
children | 444cb12cadb6 |
comparison
equal
deleted
inserted
replaced
3519:1374f9275de9 | 3520:83518f8fcd61 |
---|---|
325 info->texture_formats[info->num_texture_formats++] = | 325 info->texture_formats[info->num_texture_formats++] = |
326 SDL_PIXELFORMAT_UYVY; | 326 SDL_PIXELFORMAT_UYVY; |
327 info->texture_formats[info->num_texture_formats++] = | 327 info->texture_formats[info->num_texture_formats++] = |
328 SDL_PIXELFORMAT_YVYU; | 328 SDL_PIXELFORMAT_YVYU; |
329 | 329 |
330 SDL_AddRenderDriver(0, &D3D_RenderDriver); | 330 for (i = 0; i < _this->num_displays; ++i) { |
331 SDL_AddRenderDriver(&_this->displays[i], &D3D_RenderDriver); | |
332 } | |
331 } | 333 } |
332 } | 334 } |
333 | 335 |
334 SDL_Renderer * | 336 SDL_Renderer * |
335 D3D_CreateRenderer(SDL_Window * window, Uint32 flags) | 337 D3D_CreateRenderer(SDL_Window * window, Uint32 flags) |