summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-01-23 02:18:12 +0100
committerSven Gothel <[email protected]>2012-01-23 02:18:12 +0100
commit68cc9c136c5a37f6dacee24ecfe05fa712d8da4f (patch)
treeca910030786b774b4629260f2fb0677e69f3a98b
parent05dfc0ca320d6578cd596cc3384a3bbc6fc4e36f (diff)
Minor edit: Suppress USE_WGLVersion_Of_5WGLGDIFuncSet message when default.
-rw-r--r--src/jogl/classes/jogamp/opengl/windows/wgl/WGLUtil.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/jogl/classes/jogamp/opengl/windows/wgl/WGLUtil.java b/src/jogl/classes/jogamp/opengl/windows/wgl/WGLUtil.java
index 845d749ba..5c8d38c05 100644
--- a/src/jogl/classes/jogamp/opengl/windows/wgl/WGLUtil.java
+++ b/src/jogl/classes/jogamp/opengl/windows/wgl/WGLUtil.java
@@ -54,7 +54,9 @@ public class WGLUtil {
static {
USE_WGLVersion_Of_5WGLGDIFuncSet = Debug.isPropertyDefined("jogl.windows.useWGLVersionOf5WGLGDIFuncSet", true, AccessController.getContext());
- System.err.println("USE_WGLVersion_Of_5WGLGDIFuncSet: "+USE_WGLVersion_Of_5WGLGDIFuncSet);
+ if(USE_WGLVersion_Of_5WGLGDIFuncSet) {
+ System.err.println("Use WGL version of 5 WGL/GDI functions.");
+ }
}
public static int ChoosePixelFormat(long hdc, PIXELFORMATDESCRIPTOR pfd) {