Mercurial > sdl-ios-xcode
comparison src/video/SDL_yuv_sw.c @ 1672:8e754b82cecc SDL-1.3
Updated SDL_Surface code for software-only access, fixed some build errors
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 09 Jun 2006 07:06:12 +0000 |
parents | 4da1ee79c9af |
children | 153477a6cc31 |
comparison
equal
deleted
inserted
replaced
1671:89f7510fe17a | 1672:8e754b82cecc |
---|---|
1190 } | 1190 } |
1191 } | 1191 } |
1192 if (stretch) { | 1192 if (stretch) { |
1193 if (!swdata->stretch) { | 1193 if (!swdata->stretch) { |
1194 display = swdata->display; | 1194 display = swdata->display; |
1195 swdata->stretch = SDL_CreateRGBSurface(SDL_SWSURFACE, | 1195 swdata->stretch = SDL_CreateRGBSurface(0, |
1196 overlay->w, | 1196 overlay->w, |
1197 overlay->h, | 1197 overlay->h, |
1198 display->format-> | 1198 display->format-> |
1199 BitsPerPixel, | 1199 BitsPerPixel, |
1200 display->format-> | 1200 display->format-> |