src/SDL_compat.c
changeset 1985 8055185ae4ed
parent 1974 70deaf574153
child 2037 6bb97f41ab4b
     1.1 --- a/src/SDL_compat.c	Thu Aug 24 12:49:59 2006 +0000
     1.2 +++ b/src/SDL_compat.c	Mon Aug 28 03:17:39 2006 +0000
     1.3 @@ -673,9 +673,7 @@
     1.4      if (screen == SDL_VideoSurface) {
     1.5          if (SDL_VideoRendererInfo.flags & SDL_RENDERER_PRESENTCOPY) {
     1.6              for (i = 0; i < numrects; ++i) {
     1.7 -                SDL_RenderCopy(SDL_VideoTexture, &rects[i], &rects[i],
     1.8 -                               SDL_TEXTUREBLENDMODE_NONE,
     1.9 -                               SDL_TEXTURESCALEMODE_NONE);
    1.10 +                SDL_RenderCopy(SDL_VideoTexture, &rects[i], &rects[i]);
    1.11              }
    1.12          } else {
    1.13              SDL_Rect rect;
    1.14 @@ -683,9 +681,7 @@
    1.15              rect.y = 0;
    1.16              rect.w = screen->w;
    1.17              rect.h = screen->h;
    1.18 -            SDL_RenderCopy(SDL_VideoTexture, &rect, &rect,
    1.19 -                           SDL_TEXTUREBLENDMODE_NONE,
    1.20 -                           SDL_TEXTURESCALEMODE_NONE);
    1.21 +            SDL_RenderCopy(SDL_VideoTexture, &rect, &rect);
    1.22          }
    1.23          SDL_RenderPresent();
    1.24      }
    1.25 @@ -1421,9 +1417,7 @@
    1.26  int
    1.27  SDL_DisplayYUVOverlay(SDL_Overlay * overlay, SDL_Rect * dstrect)
    1.28  {
    1.29 -    if (SDL_RenderCopy(overlay->hwdata->textureID, NULL, dstrect,
    1.30 -                       SDL_TEXTUREBLENDMODE_NONE,
    1.31 -                       SDL_TEXTURESCALEMODE_FAST) < 0) {
    1.32 +    if (SDL_RenderCopy(overlay->hwdata->textureID, NULL, dstrect) < 0) {
    1.33          return -1;
    1.34      }
    1.35      SDL_RenderPresent();