mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-02-04 23:04:17 +01:00
Adding lwjgl version string to debug output
This commit is contained in:
parent
cba5ab3492
commit
833fcaa122
|
|
@ -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));
|
||||
|
|
|
|||
|
|
@ -39,6 +39,8 @@ 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.opengl.DisplayMode;
|
||||
|
|
@ -199,6 +201,7 @@ public class Gears {
|
|||
|
||||
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));
|
||||
|
|
|
|||
|
|
@ -39,6 +39,8 @@ 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.AWTGLCanvas;
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
|
@ -131,6 +133,7 @@ public class AWTGears extends Frame {
|
|||
|
||||
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…
Reference in a new issue