From 12554c2c039a73aa81b30a5f44b33d5fec8594fa Mon Sep 17 00:00:00 2001 From: Phil Race Date: Mon, 22 Jun 2020 13:37:41 -0700 Subject: [PATCH] 8244818: Java2D Queue Flusher crash while moving application window to external monitor Reviewed-by: serb, jdv, kcr --- .../macosx/native/libawt_lwawt/java2d/opengl/CGLSurfaceData.m | 1 - 1 file changed, 1 deletion(-) diff --git a/src/java.desktop/macosx/native/libawt_lwawt/java2d/opengl/CGLSurfaceData.m b/src/java.desktop/macosx/native/libawt_lwawt/java2d/opengl/CGLSurfaceData.m index 235ae7bc129..b83b69a1c19 100644 --- a/src/java.desktop/macosx/native/libawt_lwawt/java2d/opengl/CGLSurfaceData.m +++ b/src/java.desktop/macosx/native/libawt_lwawt/java2d/opengl/CGLSurfaceData.m @@ -90,7 +90,6 @@ JNF_COCOA_ENTER(env); CGLCtxInfo *ctxinfo = (CGLCtxInfo *)oglc->ctxInfo; #if USE_NSVIEW_FOR_SCRATCH [ctxinfo->context makeCurrentContext]; - [ctxinfo->context setView: ctxinfo->scratchSurface]; #else [ctxinfo->context clearDrawable]; [ctxinfo->context makeCurrentContext];