changeset 14062:5414b80b28cb

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 52e77a298786
children 971263b8cd56
files src/macosx/native/sun/java2d/opengl/CGLSurfaceData.m
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/macosx/native/sun/java2d/opengl/CGLSurfaceData.m	Thu Apr 14 14:42:53 2016 -0700
+++ b/src/macosx/native/sun/java2d/opengl/CGLSurfaceData.m	Mon Jun 22 13:37:41 2020 -0700
@@ -93,7 +93,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];