From 2de393733835f62580b7ae46892a29b96305a33e Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Thu, 19 May 2011 04:46:04 +0000 Subject: [PATCH] - Fixed: Typo in FClipRect::Intersect() could case bad clipping. SVN r3211 (trunk) --- src/textures/bitmap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/textures/bitmap.cpp b/src/textures/bitmap.cpp index b552f9797b..26ca3b8e26 100644 --- a/src/textures/bitmap.cpp +++ b/src/textures/bitmap.cpp @@ -421,7 +421,7 @@ bool FClipRect::Intersect(int ix, int iy, int iw, int ih) } else { - ih -= (x-ih); + ih -= (y-iy); } if (iw < width) width = iw; if (ih < height) height = ih;