Mercurial > sdl-ios-xcode
comparison src/video/SDL_renderer_sw.c @ 2786:6bacfecbf27e
indent
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 25 Nov 2008 02:21:53 +0000 |
parents | 5651642f4a78 |
children | c2834344ca44 |
comparison
equal
deleted
inserted
replaced
2785:fa1095d42a5b | 2786:6bacfecbf27e |
---|---|
359 | 359 |
360 static int | 360 static int |
361 SW_CreateTexture(SDL_Renderer * renderer, SDL_Texture * texture) | 361 SW_CreateTexture(SDL_Renderer * renderer, SDL_Texture * texture) |
362 { | 362 { |
363 if (SDL_ISPIXELFORMAT_FOURCC(texture->format)) { | 363 if (SDL_ISPIXELFORMAT_FOURCC(texture->format)) { |
364 texture->driverdata = SDL_SW_CreateYUVTexture(texture->format, texture->w, texture->h); | 364 texture->driverdata = |
365 SDL_SW_CreateYUVTexture(texture->format, texture->w, texture->h); | |
365 } else { | 366 } else { |
366 int bpp; | 367 int bpp; |
367 Uint32 Rmask, Gmask, Bmask, Amask; | 368 Uint32 Rmask, Gmask, Bmask, Amask; |
368 | 369 |
369 if (!SDL_PixelFormatEnumToMasks | 370 if (!SDL_PixelFormatEnumToMasks |