mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-06 23:14:19 +00:00
Adding lwjgl version string to debug output
This commit is contained in:
parent
cba5ab3492
commit
833fcaa122
3 changed files with 9 additions and 0 deletions
|
|
@ -6,6 +6,8 @@ import java.awt.Canvas;
|
|||
import java.nio.FloatBuffer;
|
||||
import org.lwjgl.BufferUtils;
|
||||
import org.lwjgl.LWJGLException;
|
||||
import org.lwjgl.LWJGLUtil;
|
||||
import org.lwjgl.Sys;
|
||||
import org.lwjgl.opengl.ARBTransposeMatrix;
|
||||
import org.lwjgl.opengl.Display;
|
||||
import org.lwjgl.input.Keyboard;
|
||||
|
|
@ -262,6 +264,7 @@ public class GearsApplet extends Applet {
|
|||
GL11.glEnable(GL11.GL_NORMALIZE);
|
||||
GL11.glMatrixMode(GL11.GL_PROJECTION);
|
||||
|
||||
System.err.println("LWJGL: " + Sys.getVersion() + " / " + LWJGLUtil.getPlatformName());
|
||||
System.err.println("GL_VENDOR: " + GL11.glGetString(GL11.GL_VENDOR));
|
||||
System.err.println("GL_RENDERER: " + GL11.glGetString(GL11.GL_RENDERER));
|
||||
System.err.println("GL_VERSION: " + GL11.glGetString(GL11.GL_VERSION));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue