diff --git a/src/java/org/lwjgl/openal/BaseAL.java b/src/java/org/lwjgl/openal/BaseAL.java index d70258ad..77c11985 100644 --- a/src/java/org/lwjgl/openal/BaseAL.java +++ b/src/java/org/lwjgl/openal/BaseAL.java @@ -179,4 +179,12 @@ public abstract class BaseAL { * Native method the destroy the AL */ protected static native void nDestroy(); + + + /** + * @return true if AL has been created + */ + public static boolean isCreated() { + return created; + } }