Reduced Sys.debug from bool -> int

This commit is contained in:
Elias Naur 2003-12-20 22:07:19 +00:00
parent 790b01a01b
commit 97cb16eb74
2 changed files with 3 additions and 3 deletions

View file

@ -80,7 +80,7 @@ public final class Sys {
private static String LIBRARY_NAME = "lwjgl";
/**
* Debug level.
* Debug flag.
*/
public static final boolean debug;
@ -116,7 +116,7 @@ public final class Sys {
}
/**
* @return true if the debug level is greater than or equal to level
* @return true if debugging has been enabled
*/
public static boolean isDebugEnabled() {
return debug;

View file

@ -16,7 +16,7 @@ extern "C" {
#undef org_lwjgl_Sys_REALTIME_PRIORITY
#define org_lwjgl_Sys_REALTIME_PRIORITY 2L
/* Inaccessible static: LIBRARY_NAME */
/* Inaccessible static: debug */
/* Inaccessible static: DEBUG */
/*
* Class: org_lwjgl_Sys
* Method: setDebug