|
From: <eli...@us...> - 2007-03-22 14:05:45
|
Revision: 2751
http://svn.sourceforge.net/java-game-lib/?rev=2751&view=rev
Author: elias_naur
Date: 2007-03-22 07:05:41 -0700 (Thu, 22 Mar 2007)
Log Message:
-----------
WindowsRegistry: Make sure the native library is loaded by calling Sys.initialize()
Modified Paths:
--------------
trunk/LWJGL/src/java/org/lwjgl/opengl/WindowsRegistry.java
Modified: trunk/LWJGL/src/java/org/lwjgl/opengl/WindowsRegistry.java
===================================================================
--- trunk/LWJGL/src/java/org/lwjgl/opengl/WindowsRegistry.java 2007-03-13 08:18:00 UTC (rev 2750)
+++ trunk/LWJGL/src/java/org/lwjgl/opengl/WindowsRegistry.java 2007-03-22 14:05:41 UTC (rev 2751)
@@ -37,12 +37,17 @@
*/
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
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|