From 7c983e1a3be8f73d0b7a483791112537e6005639 Mon Sep 17 00:00:00 2001 From: "sha..RD" Date: Fri, 21 Jun 2013 02:33:51 +0000 Subject: [PATCH] * Display LWJGL version when context is created (why was this part removed?) git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10655 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/lwjgl/com/jme3/system/lwjgl/LwjglContext.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/engine/src/lwjgl/com/jme3/system/lwjgl/LwjglContext.java b/engine/src/lwjgl/com/jme3/system/lwjgl/LwjglContext.java index 60d242e51..290c3e400 100644 --- a/engine/src/lwjgl/com/jme3/system/lwjgl/LwjglContext.java +++ b/engine/src/lwjgl/com/jme3/system/lwjgl/LwjglContext.java @@ -48,6 +48,7 @@ import java.util.concurrent.atomic.AtomicBoolean; import java.util.logging.Level; import java.util.logging.Logger; import org.lwjgl.LWJGLException; +import org.lwjgl.Sys; import org.lwjgl.opengl.*; /** @@ -73,8 +74,9 @@ public abstract class LwjglContext implements JmeContext { this.listener = listener; } - protected void printContextInitInfo(){ - logger.log(Level.INFO, "Lwjgl context running on thread {0}", Thread.currentThread().getName()); + protected void printContextInitInfo() { + logger.log(Level.INFO, "Lwjgl {0} context running on thread {1}", + new Object[]{Sys.getVersion(), Thread.currentThread().getName()}); logger.log(Level.INFO, "Adapter: {0}", Display.getAdapter()); logger.log(Level.INFO, "Driver Version: {0}", Display.getVersion());