|
From: Elias N. <eli...@us...> - 2003-12-20 14:01:33
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl In directory sc8-pr-cvs1:/tmp/cvs-serv21938/src/java/org/lwjgl/opengl Modified Files: GLCaps.java Log Message: Implemented proper debug levels Index: GLCaps.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/GLCaps.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/GLCaps.java,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- GLCaps.java 15 Dec 2003 11:49:16 -0000 1.13 +++ GLCaps.java 20 Dec 2003 14:01:30 -0000 1.14 @@ -162,15 +162,11 @@ } private static void setExtensionFields(HashSet exts, HashMap field_map) { - if(org.lwjgl.Sys.atDebugLevel()) { - System.out.println("Available extensions:"); - } + Sys.log(Sys.DEBUG, "Available extensions:"); Iterator it = exts.iterator(); while (it.hasNext()) { String ext = (String)it.next(); - if(org.lwjgl.Sys.atDebugLevel()) { - System.out.println(ext); - } + Sys.log(Sys.DEBUG, ext); Field f = (Field)field_map.get(ext); if (f != null) { |