changeset 8209:8fd757f31470

8025940: Windows build fails after the fix for 8025280 Reviewed-by: prr, jgodinez
author jchen
date Fri, 04 Oct 2013 16:17:59 -0700
parents 0ed939dc4230
children 727b60f9c09c 180c05796c45
files src/share/native/sun/java2d/loops/MaskBlit.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/native/sun/java2d/loops/MaskBlit.c	Thu Oct 03 13:49:52 2013 -0700
+++ b/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,