changeset 20421 | 8fab9959a1bc |
parent 5506 | 202f599c92aa |
child 23010 | 6dadb192ad81 |
--- a/jdk/src/share/native/sun/java2d/loops/ScaledBlit.c Thu Oct 03 11:28:37 2013 +0400 +++ b/jdk/src/share/native/sun/java2d/loops/ScaledBlit.c Thu Oct 03 13:16:31 2013 -0700 @@ -296,8 +296,11 @@ } srcOps = SurfaceData_GetOps(env, srcData); + if (srcOps == 0) { + return; + } dstOps = SurfaceData_GetOps(env, dstData); - if (srcOps == 0 || dstOps == 0) { + if (dstOps == 0) { return; }