Mercurial > sdl-ios-xcode
comparison src/video/win32/SDL_gdirender.c @ 2786:6bacfecbf27e
indent
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 25 Nov 2008 02:21:53 +0000 |
parents | 5651642f4a78 |
children | 27cb878a278e |
comparison
equal
deleted
inserted
replaced
2785:fa1095d42a5b | 2786:6bacfecbf27e |
---|---|
292 } | 292 } |
293 | 293 |
294 texture->driverdata = data; | 294 texture->driverdata = data; |
295 | 295 |
296 if (SDL_ISPIXELFORMAT_FOURCC(texture->format)) { | 296 if (SDL_ISPIXELFORMAT_FOURCC(texture->format)) { |
297 data->yuv = SDL_SW_CreateYUVTexture(texture->format, texture->w, texture->h); | 297 data->yuv = |
298 SDL_SW_CreateYUVTexture(texture->format, texture->w, texture->h); | |
298 if (!data->yuv) { | 299 if (!data->yuv) { |
299 return -1; | 300 return -1; |
300 } | 301 } |
301 data->format = display->current_mode.format; | 302 data->format = display->current_mode.format; |
302 } else { | 303 } else { |