• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Main repository of MikuMikuStudio


Commit MetaInfo

Révision4d58e02e5ce99d7d999e3b595497911abfdd7282 (tree)
l'heure2013-06-21 11:33:51
AuteurshadowisLORD <shadowisLORD@75d0...>
CommitershadowisLORD

Message de Log

  • Display LWJGL version when context is created (why was this part removed?)

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10655 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

Change Summary

Modification

--- 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;
4848 import java.util.logging.Level;
4949 import java.util.logging.Logger;
5050 import org.lwjgl.LWJGLException;
51+import org.lwjgl.Sys;
5152 import org.lwjgl.opengl.*;
5253
5354 /**
@@ -73,8 +74,9 @@ public abstract class LwjglContext implements JmeContext {
7374 this.listener = listener;
7475 }
7576
76- protected void printContextInitInfo(){
77- logger.log(Level.INFO, "Lwjgl context running on thread {0}", Thread.currentThread().getName());
77+ protected void printContextInitInfo() {
78+ logger.log(Level.INFO, "Lwjgl {0} context running on thread {1}",
79+ new Object[]{Sys.getVersion(), Thread.currentThread().getName()});
7880
7981 logger.log(Level.INFO, "Adapter: {0}", Display.getAdapter());
8082 logger.log(Level.INFO, "Driver Version: {0}", Display.getVersion());