добавлен final для переменных с размером окна
This commit is contained in:
parent
8443b3b750
commit
c77c5232e3
|
@ -12,8 +12,8 @@ import static org.lwjgl.system.MemoryUtil.*;
|
|||
public class Main {
|
||||
|
||||
private long window;
|
||||
private int width = 800,
|
||||
height = 600;
|
||||
final private int width = 800,
|
||||
height = 600;
|
||||
|
||||
public void run() {
|
||||
System.out.println("<i> Hello LWJGL " + Version.getVersion() + "!");
|
||||
|
|
Loading…
Reference in New Issue