Windows 64: Enabled lwjgl64.dll and fixed crash

This commit is contained in:
Elias Naur 2008-12-22 11:55:28 +00:00
parent 599b447cb5
commit 4b93774ef7
2 changed files with 5 additions and 1 deletions

View File

@ -64,6 +64,10 @@ final class WindowsSysImplementation extends DefaultSysImplementation {
}
private static native long nGetTime();
public final boolean has64Bit() {
return true;
}
private static long getHwnd() {
if (!Display.isCreated())
return 0;

View File

@ -68,7 +68,7 @@ bool isDebugEnabled(void) {
}
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