--- a/src/SDL_compat.c Thu Aug 24 12:49:59 2006 +0000
+++ b/src/SDL_compat.c Mon Aug 28 03:17:39 2006 +0000
@@ -673,9 +673,7 @@
if (screen == SDL_VideoSurface) {
if (SDL_VideoRendererInfo.flags & SDL_RENDERER_PRESENTCOPY) {
for (i = 0; i < numrects; ++i) {
- SDL_RenderCopy(SDL_VideoTexture, &rects[i], &rects[i],
- SDL_TEXTUREBLENDMODE_NONE,
- SDL_TEXTURESCALEMODE_NONE);
+ SDL_RenderCopy(SDL_VideoTexture, &rects[i], &rects[i]);
}
} else {
SDL_Rect rect;
@@ -683,9 +681,7 @@
rect.y = 0;
rect.w = screen->w;
rect.h = screen->h;
- SDL_RenderCopy(SDL_VideoTexture, &rect, &rect,
- SDL_TEXTUREBLENDMODE_NONE,
- SDL_TEXTURESCALEMODE_NONE);
+ SDL_RenderCopy(SDL_VideoTexture, &rect, &rect);
}
SDL_RenderPresent();
}
@@ -1421,9 +1417,7 @@
int
SDL_DisplayYUVOverlay(SDL_Overlay * overlay, SDL_Rect * dstrect)
{
- if (SDL_RenderCopy(overlay->hwdata->textureID, NULL, dstrect,
- SDL_TEXTUREBLENDMODE_NONE,
- SDL_TEXTURESCALEMODE_FAST) < 0) {
+ if (SDL_RenderCopy(overlay->hwdata->textureID, NULL, dstrect) < 0) {
return -1;
}
SDL_RenderPresent();