mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-02-26 09:34:23 +01:00
Added init code to space invaders example
This commit is contained in:
parent
68ec5edea1
commit
3f9dfefe81
|
|
@ -228,6 +228,9 @@ public class Game {
|
|||
GL11.glLoadIdentity();
|
||||
|
||||
GL11.glOrtho(0, width, height, 0, -1, 1);
|
||||
GL11.glMatrixMode(GL11.GL_MODELVIEW);
|
||||
GL11.glLoadIdentity();
|
||||
GL11.glViewport(0, 0, width, height);
|
||||
|
||||
textureLoader = new TextureLoader();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue