fix: only output wgl if debug
This commit is contained in:
parent
947964e341
commit
9cb8739687
|
@ -1640,12 +1640,16 @@ public class GL extends CoreGL implements GLConstants {
|
||||||
if (exts == null)
|
if (exts == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
System.out.println("Available WGL extensions:");
|
if(org.lwjgl.Sys.DEBUG) {
|
||||||
|
System.out.println("Available WGL extensions:");
|
||||||
|
}
|
||||||
StringTokenizer st = new StringTokenizer(exts);
|
StringTokenizer st = new StringTokenizer(exts);
|
||||||
while (st.hasMoreTokens()) {
|
while (st.hasMoreTokens()) {
|
||||||
String ext = st.nextToken();
|
String ext = st.nextToken();
|
||||||
|
|
||||||
System.out.println(ext);
|
if(org.lwjgl.Sys.DEBUG) {
|
||||||
|
System.out.println(ext);
|
||||||
|
}
|
||||||
|
|
||||||
Field f = (Field) map.get(ext);
|
Field f = (Field) map.get(ext);
|
||||||
if (f != null) {
|
if (f != null) {
|
||||||
|
|
Loading…
Reference in New Issue