# HG changeset patch # User jchen # Date 1381961781 25200 # Node ID 694eb83ef6136b26f5fe5b27b7f7b4d63f97195f # Parent 5d89c18a26b8447efdf4aae71b7534afef00390f 8024461: [macosx] Java crashed on mac10.9 for swing and 2d function manual test Reviewed-by: prr, vadim, serb diff -r 5d89c18a26b8 -r 694eb83ef613 src/share/native/sun/java2d/opengl/OGLBlitLoops.c --- a/src/share/native/sun/java2d/opengl/OGLBlitLoops.c Thu Oct 03 17:32:01 2013 +0400 +++ b/src/share/native/sun/java2d/opengl/OGLBlitLoops.c Wed Oct 16 15:16:21 2013 -0700 @@ -647,7 +647,12 @@ (sy2-sy1) != (jint)(dy2-dy1) || oglc->extraAlpha != 1.0f; break; - +#ifdef MACOSX + case OGLC_VENDOR_ATI: + // see 8024461 + viaTexture = JNI_TRUE; + break; +#endif default: // just use the glDrawPixels() codepath viaTexture = JNI_FALSE;