< prev index next >
src/java.desktop/macosx/native/libawt_lwawt/java2d/opengl/CGLGraphicsConfig.m
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
@@ -340,22 +340,14 @@
forAttribute: NSOpenGLPFADoubleBuffer
forVirtualScreen: contextVirtualScreen];
if (value != 0) {
caps |= CAPS_DOUBLEBUFFERED;
}
- [sharedPixelFormat
- getValues: &value
- forAttribute: NSOpenGLPFAAlphaSize
- forVirtualScreen: contextVirtualScreen];
- if (value != 0) {
- caps |= CAPS_STORED_ALPHA;
- }
- J2dRlsTraceLn2(J2D_TRACE_INFO,
- "CGLGraphicsConfig_getCGLConfigInfo: db=%d alpha=%d",
- (caps & CAPS_DOUBLEBUFFERED) != 0,
- (caps & CAPS_STORED_ALPHA) != 0);
+ J2dRlsTraceLn1(J2D_TRACE_INFO,
+ "CGLGraphicsConfig_getCGLConfigInfo: db=%d",
+ (caps & CAPS_DOUBLEBUFFERED) != 0);
// remove before shipping (?)
#if 1
[sharedPixelFormat
getValues: &value
< prev index next >