提交 a429fb14 编写于 作者: J jchen

8025940: Windows build fails after the fix for 8025280

Reviewed-by: prr, jgodinez
上级 0ce605c9
...@@ -99,6 +99,8 @@ Java_sun_java2d_loops_MaskBlit_MaskBlit ...@@ -99,6 +99,8 @@ Java_sun_java2d_loops_MaskBlit_MaskBlit
(maskArray (maskArray
? (*env)->GetPrimitiveArrayCritical(env, maskArray, 0) ? (*env)->GetPrimitiveArrayCritical(env, maskArray, 0)
: 0); : 0);
jint savesx = srcInfo.bounds.x1;
jint savedx = dstInfo.bounds.x1;
if (maskArray != NULL && pMask == NULL) { if (maskArray != NULL && pMask == NULL) {
SurfaceData_InvokeRelease(env, dstOps, &dstInfo); SurfaceData_InvokeRelease(env, dstOps, &dstInfo);
SurfaceData_InvokeRelease(env, srcOps, &srcInfo); SurfaceData_InvokeRelease(env, srcOps, &srcInfo);
...@@ -106,8 +108,6 @@ Java_sun_java2d_loops_MaskBlit_MaskBlit ...@@ -106,8 +108,6 @@ Java_sun_java2d_loops_MaskBlit_MaskBlit
SurfaceData_InvokeUnlock(env, srcOps, &srcInfo); SurfaceData_InvokeUnlock(env, srcOps, &srcInfo);
return; return;
} }
jint savesx = srcInfo.bounds.x1;
jint savedx = dstInfo.bounds.x1;
Region_StartIteration(env, &clipInfo); Region_StartIteration(env, &clipInfo);
while (Region_NextIteration(&clipInfo, &span)) { while (Region_NextIteration(&clipInfo, &span)) {
void *pSrc = PtrCoord(srcInfo.rasBase, void *pSrc = PtrCoord(srcInfo.rasBase,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册