Windows 64: Enabled lwjgl64.dll and fixed crash
This commit is contained in:
parent
599b447cb5
commit
4b93774ef7
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue