8025940: Windows build fails after the fix for 8025280
Reviewed-by: prr, jgodinez
--- a/jdk/src/share/native/sun/java2d/loops/MaskBlit.c Thu Oct 03 13:49:52 2013 -0700
+++ b/jdk/src/share/native/sun/java2d/loops/MaskBlit.c Fri Oct 04 16:17:59 2013 -0700
@@ -99,6 +99,8 @@
(maskArray
? (*env)->GetPrimitiveArrayCritical(env, maskArray, 0)
: 0);
+ jint savesx = srcInfo.bounds.x1;
+ jint savedx = dstInfo.bounds.x1;
if (maskArray != NULL && pMask == NULL) {
SurfaceData_InvokeRelease(env, dstOps, &dstInfo);
SurfaceData_InvokeRelease(env, srcOps, &srcInfo);
@@ -106,8 +108,6 @@
SurfaceData_InvokeUnlock(env, srcOps, &srcInfo);
return;
}
- jint savesx = srcInfo.bounds.x1;
- jint savedx = dstInfo.bounds.x1;
Region_StartIteration(env, &clipInfo);
while (Region_NextIteration(&clipInfo, &span)) {
void *pSrc = PtrCoord(srcInfo.rasBase,