import org.lwjgl.;
import org.lwjgl.input.;
public class lwjgltest {
public static void main(String args[]) throws Exception { DisplayMode[] modes = Display.getAvailableDisplayModes(); Display.create(modes[modes.length-1],true); Keyboard.create(); while (true) { Keyboard.poll(); if (Keyboard.isKeyDown(Keyboard.KEY_Q)) { break; } } }}
How do i make this code beable to draw something like a square on the screen?? Itried but i keep getting native code errors…