changeset 59882:9cfa0137612f

8244818: Java2D Queue Flusher crash while moving application window to external monitor Reviewed-by: serb, jdv, kcr
author prr
date Mon, 22 Jun 2020 13:37:41 -0700
parents ba36107de260
children be8f84478783 1ce97974255d
files src/java.desktop/macosx/native/libawt_lwawt/java2d/opengl/CGLSurfaceData.m
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.desktop/macosx/native/libawt_lwawt/java2d/opengl/CGLSurfaceData.m	Mon Jun 22 09:42:42 2020 -0700
+++ b/src/java.desktop/macosx/native/libawt_lwawt/java2d/opengl/CGLSurfaceData.m	Mon Jun 22 13:37:41 2020 -0700
@@ -90,7 +90,6 @@
     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];