[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Stratagus-CVS] stratagus/src/video graphic.c linedraw.c
From: |
Nehal Mistry |
Subject: |
[Stratagus-CVS] stratagus/src/video graphic.c linedraw.c |
Date: |
Fri, 28 Nov 2003 18:48:19 -0500 |
CVSROOT: /cvsroot/stratagus
Module name: stratagus
Branch:
Changes by: Nehal Mistry <address@hidden> 03/11/28 18:48:19
Modified files:
src/video : graphic.c linedraw.c
Log message:
fix small typo in VideoDrawSubClip
Patches:
Index: stratagus/src/video/graphic.c
diff -u stratagus/src/video/graphic.c:1.55 stratagus/src/video/graphic.c:1.56
--- stratagus/src/video/graphic.c:1.55 Thu Nov 27 17:00:01 2003
+++ stratagus/src/video/graphic.c Fri Nov 28 18:48:19 2003
@@ -26,7 +26,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
//
-// $Id: graphic.c,v 1.55 2003/11/27 22:00:01 nehalmistry Exp $
+// $Id: graphic.c,v 1.56 2003/11/28 23:48:19 nehalmistry Exp $
//@{
@@ -88,7 +88,7 @@
global void VideoDrawSubClip(const Graphic* graphic, int gx, int gy,
int w, int h, int x, int y)
{
- CLIP_RECTANGLE(gx, gy, w, h);
+ CLIP_RECTANGLE(x, y, w, h);
VideoDrawSub(graphic, gx, gy, w, h, x, y);
}
Index: stratagus/src/video/linedraw.c
diff -u stratagus/src/video/linedraw.c:1.54 stratagus/src/video/linedraw.c:1.55
--- stratagus/src/video/linedraw.c:1.54 Fri Nov 28 16:59:41 2003
+++ stratagus/src/video/linedraw.c Fri Nov 28 18:48:19 2003
@@ -27,7 +27,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
//
-// $Id: linedraw.c,v 1.54 2003/11/28 21:59:41 nehalmistry Exp $
+// $Id: linedraw.c,v 1.55 2003/11/28 23:48:19 nehalmistry Exp $
//@{
@@ -718,7 +718,7 @@
global void VideoDrawRectangleClip(SDL_Color color, int x, int y,
int w, int h)
{
- CLIP_RECTANGLE(x, y, w, h);
+// CLIP_RECTANGLE(x, y, w, h);
VideoDrawRectangle(color, x, y, w, h);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Stratagus-CVS] stratagus/src/video graphic.c linedraw.c,
Nehal Mistry <=