добавлен final для переменных с размером окна

This commit is contained in:
parent 8443b3b750
commit c77c5232e3
1 changed files with 2 additions and 2 deletions

View File

@ -12,8 +12,8 @@ import static org.lwjgl.system.MemoryUtil.*;
public class Main { public class Main {
private long window; private long window;
private int width = 800, final private int width = 800,
height = 600; height = 600;
public void run() { public void run() {
System.out.println("<i> Hello LWJGL " + Version.getVersion() + "!"); System.out.println("<i> Hello LWJGL " + Version.getVersion() + "!");