diff 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
line wrap: on
line diff
--- a/src/video/SDL_yuv_sw.c	Fri Jun 09 06:42:42 2006 +0000
+++ b/src/video/SDL_yuv_sw.c	Fri Jun 09 07:06:12 2006 +0000
@@ -1192,7 +1192,7 @@
     if (stretch) {
         if (!swdata->stretch) {
             display = swdata->display;
-            swdata->stretch = SDL_CreateRGBSurface(SDL_SWSURFACE,
+            swdata->stretch = SDL_CreateRGBSurface(0,
                                                    overlay->w,
                                                    overlay->h,
                                                    display->format->