WindowsRegistry: Make sure the native library is loaded by calling Sys.initialize()

This commit is contained in:
Elias Naur 2007-03-22 14:05:41 +00:00
parent 55a889d053
commit 360a9a0827
1 changed files with 5 additions and 0 deletions

View File

@ -37,12 +37,17 @@ package org.lwjgl.opengl;
*/
import org.lwjgl.LWJGLException;
import org.lwjgl.Sys;
final class WindowsRegistry {
final static int HKEY_CLASSES_ROOT = 1;
final static int HKEY_CURRENT_USER = 2;
final static int HKEY_LOCAL_MACHINE = 3;
final static int HKEY_USERS = 4;
static {
Sys.initialize();
}
/**
* Query the registry value specified by the root key, subkey, value tuple