mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-05 14:35:58 +00:00
moved Sys.log to LWJGLUtils and renamed property to org.lwjgl.util.Debug
This commit is contained in:
parent
c9fc024fa4
commit
ad8d7676c2
18 changed files with 89 additions and 83 deletions
|
|
@ -42,7 +42,7 @@ import java.nio.ByteBuffer;
|
|||
import java.nio.FloatBuffer;
|
||||
import java.nio.IntBuffer;
|
||||
|
||||
import org.lwjgl.Sys;
|
||||
import org.lwjgl.LWJGLUtil;
|
||||
import org.lwjgl.BufferUtils;
|
||||
import org.lwjgl.LWJGLException;
|
||||
import org.lwjgl.input.Cursor;
|
||||
|
|
@ -84,7 +84,7 @@ final class Win32Display implements DisplayImplementation {
|
|||
if (Display.getContext().isCurrent())
|
||||
Display.getContext().makeCurrent();
|
||||
} catch (LWJGLException e) {
|
||||
Sys.log("Exception occurred while trying to make context current: " + e);
|
||||
LWJGLUtil.log("Exception occurred while trying to make context current: " + e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -129,7 +129,7 @@ final class Win32Display implements DisplayImplementation {
|
|||
// Return the capabilities of a minimum pixel format
|
||||
return nGetPbufferCapabilities(new PixelFormat(0, 0, 0, 0, 0, 0, 0, 0, false));
|
||||
} catch (LWJGLException e) {
|
||||
Sys.log("Exception occurred while determining pbuffer capabilities: " + e);
|
||||
LWJGLUtil.log("Exception occurred while determining pbuffer capabilities: " + e);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue