comparison src/video/SDL_renderer_sw.c @ 2130:3ee59c43d784

Fixes for compiling with Visual C++ 8.0 Express Edition
author Sam Lantinga <slouken@libsdl.org>
date Tue, 19 Jun 2007 05:53:56 +0000
parents 7387e0514595
children 926294b2bb4e
comparison
equal deleted inserted replaced
2129:047245361002 2130:3ee59c43d784
345 SW_CreateTexture(SDL_Renderer * renderer, SDL_Texture * texture) 345 SW_CreateTexture(SDL_Renderer * renderer, SDL_Texture * texture)
346 { 346 {
347 if (SDL_ISPIXELFORMAT_FOURCC(texture->format)) { 347 if (SDL_ISPIXELFORMAT_FOURCC(texture->format)) {
348 texture->driverdata = SDL_SW_CreateYUVTexture(texture); 348 texture->driverdata = SDL_SW_CreateYUVTexture(texture);
349 } else { 349 } else {
350 SDL_Surface *surface;
351 int bpp; 350 int bpp;
352 Uint32 Rmask, Gmask, Bmask, Amask; 351 Uint32 Rmask, Gmask, Bmask, Amask;
353 352
354 if (!SDL_PixelFormatEnumToMasks 353 if (!SDL_PixelFormatEnumToMasks
355 (texture->format, &bpp, &Rmask, &Gmask, &Bmask, &Amask)) { 354 (texture->format, &bpp, &Rmask, &Gmask, &Bmask, &Amask)) {