From 3c46db4f43dccca26ea830d3e1ccdc80afbf3abb Mon Sep 17 00:00:00 2001 From: Vitaly Provodin Date: Fri, 23 Oct 2020 17:12:25 +0700 Subject: JBR-2823 Java2D Queue Flusher crash while moving application window to external monitor --- src/macosx/native/sun/java2d/opengl/CGLSurfaceData.m | 1 - 1 file changed, 1 deletion(-) diff --git a/src/macosx/native/sun/java2d/opengl/CGLSurfaceData.m b/src/macosx/native/sun/java2d/opengl/CGLSurfaceData.m index 0c32ac3849..277a360391 100644 --- a/src/macosx/native/sun/java2d/opengl/CGLSurfaceData.m +++ b/src/macosx/native/sun/java2d/opengl/CGLSurfaceData.m @@ -93,7 +93,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]; -- cgit v1.2.3