diff --git a/plugins/GSdx/GSVector.h b/plugins/GSdx/GSVector.h
index 90dce5b963..46a6194ff7 100644
--- a/plugins/GSdx/GSVector.h
+++ b/plugins/GSdx/GSVector.h
@@ -260,10 +260,10 @@ public:
{
GSVector4i v;
- v.x = min(max(x, a.x), b.z);
- v.y = min(max(y, a.y), b.w);
- v.z = min(max(z, a.x), b.z);
- v.w = min(max(x, a.y), b.w);
+ v.x = min(max(x, a.x), a.z);
+ v.y = min(max(y, a.y), a.w);
+ v.z = min(max(z, a.x), a.z);
+ v.w = min(max(x, a.y), a.w);
return v;
}
@@ -2154,7 +2154,7 @@ public:
{
struct {float x, y, z, w;};
struct {float r, g, b, a;};
- struct {int left, top, right, bottom;};
+ struct {float left, top, right, bottom;};
float v[4];
float f32[4];
int8 i8[16];
diff --git a/plugins/GSdx/GSdx_vs2008.vcproj b/plugins/GSdx/GSdx_vs2008.vcproj
index b012278704..2523f25124 100644
--- a/plugins/GSdx/GSdx_vs2008.vcproj
+++ b/plugins/GSdx/GSdx_vs2008.vcproj
@@ -1268,10 +1268,6 @@
/>
-
-
@@ -1738,10 +1734,6 @@
RelativePath=".\GSRasterizer.h"
>
-
-