diff src/video/SDL_blendline.c @ 2910:27d8b12e0e8e

Fixed argument order to the line clipping routine
author Sam Lantinga <slouken@libsdl.org>
date Tue, 23 Dec 2008 02:38:28 +0000
parents 3da0bb421d83
children 0267b8b1595c
line wrap: on
line diff
--- a/src/video/SDL_blendline.c	Tue Dec 23 02:23:18 2008 +0000
+++ b/src/video/SDL_blendline.c	Tue Dec 23 02:38:28 2008 +0000
@@ -204,7 +204,7 @@
     }
 
     /* Perform clipping */
-    if (!SDL_IntersectRectAndLine(&dst->clip_rect, &x1, &x2, &y1, &y2)) {
+    if (!SDL_IntersectRectAndLine(&dst->clip_rect, &x1, &y1, &x2, &y2)) {
         return (0);
     }