aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitaly Provodin <vitaly.provodin@jetbrains.com>2020-10-23 17:12:25 +0700
committerVitaly Provodin <vitaly.provodin@jetbrains.com>2020-10-27 06:39:59 +0700
commit3c46db4f43dccca26ea830d3e1ccdc80afbf3abb (patch)
tree5cb15776c36d667a0be6b38e12d616dade2ea8c6
parent7c865472c17d6d78798a8e191ca020659ab54562 (diff)
downloadjdk8u_jdk-3c46db4f43dccca26ea830d3e1ccdc80afbf3abb.tar.gz
JBR-2823 Java2D Queue Flusher crash while moving application window to external monitorjb8u252-b1649.5
-rw-r--r--src/macosx/native/sun/java2d/opengl/CGLSurfaceData.m1
1 files changed, 0 insertions, 1 deletions
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];