From: <eli...@us...> - 2008-12-22 12:22:40
|
Revision: 3165 http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=3165&view=rev Author: elias_naur Date: 2008-12-22 11:55:28 +0000 (Mon, 22 Dec 2008) Log Message: ----------- Windows 64: Enabled lwjgl64.dll and fixed crash Modified Paths: -------------- trunk/LWJGL/src/java/org/lwjgl/WindowsSysImplementation.java trunk/LWJGL/src/native/common/common_tools.c Modified: trunk/LWJGL/src/java/org/lwjgl/WindowsSysImplementation.java =================================================================== --- trunk/LWJGL/src/java/org/lwjgl/WindowsSysImplementation.java 2008-12-14 19:10:45 UTC (rev 3164) +++ trunk/LWJGL/src/java/org/lwjgl/WindowsSysImplementation.java 2008-12-22 11:55:28 UTC (rev 3165) @@ -64,6 +64,10 @@ } private static native long nGetTime(); + public final boolean has64Bit() { + return true; + } + private static long getHwnd() { if (!Display.isCreated()) return 0; Modified: trunk/LWJGL/src/native/common/common_tools.c =================================================================== --- trunk/LWJGL/src/native/common/common_tools.c 2008-12-14 19:10:45 UTC (rev 3164) +++ trunk/LWJGL/src/native/common/common_tools.c 2008-12-22 11:55:28 UTC (rev 3165) @@ -68,7 +68,7 @@ } static jstring sprintfJavaString(JNIEnv *env, const char *format, va_list ap) { -#define BUFFER_SIZE 4000 +#define BUFFER_SIZE 400 char buffer[BUFFER_SIZE]; jstring str; #ifdef _MSC_VER This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |