From 68cc9c136c5a37f6dacee24ecfe05fa712d8da4f Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 23 Jan 2012 02:18:12 +0100 Subject: Minor edit: Suppress USE_WGLVersion_Of_5WGLGDIFuncSet message when default. --- src/jogl/classes/jogamp/opengl/windows/wgl/WGLUtil.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/jogl/classes') 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) { -- cgit v1.2.3