diff options
author | Raluca Sauciuc <ralucas@google.com> | 2020-10-19 10:52:12 -0700 |
---|---|---|
committer | Raluca Sauciuc <ralucas@google.com> | 2020-10-19 10:53:22 -0700 |
commit | 34217f039e3236192112aff633ef2adf2a8e8c4c (patch) | |
tree | 1237dadec1b0abc8fd6505a5ed36499b9e15fe24 | |
parent | 86a106a12234cee1498a2159104fcba7f3c0efed (diff) | |
download | jdk8u_jdk-main.tar.gz |
8244818: Java2D Queue Flusher crash while moving application window to external monitorHEADmastermain
Reviewed-by: serb, jdv, kcr
(cherry picked from https://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/5414b80b28cb)
Bug: 171039472
Change-Id: I464ca7a13b186e26442d21c95b68f1e767aa9d9e
-rw-r--r-- | src/macosx/native/sun/java2d/opengl/CGLSurfaceData.m | 1 |
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]; |