aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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];