rendering cleanup
This commit is contained in:
parent
1d937b466d
commit
3ae27fc27f
48 changed files with 365 additions and 978 deletions
|
@ -659,8 +659,8 @@ public class Client implements IThreadListener {
|
|||
GL11.glLoadIdentity();
|
||||
GL11.glMatrixMode(GL11.GL_MODELVIEW);
|
||||
this.textureMap = new TextureMap();
|
||||
this.textureManager.loadTexture(TextureMap.locationBlocksTexture, this.textureMap);
|
||||
this.textureManager.bindTexture(TextureMap.locationBlocksTexture);
|
||||
this.textureManager.loadTexture(TextureMap.BLOCKS, this.textureMap);
|
||||
this.textureManager.bindTexture(TextureMap.BLOCKS);
|
||||
GL11.glTexParameteri(GL11.GL_TEXTURE_2D, GL11.GL_TEXTURE_MIN_FILTER, GL11.GL_NEAREST);
|
||||
GL11.glTexParameteri(GL11.GL_TEXTURE_2D, GL11.GL_TEXTURE_MAG_FILTER, GL11.GL_NEAREST);
|
||||
this.modelManager = new ModelManager(this.textureMap);
|
||||
|
@ -777,7 +777,7 @@ public class Client implements IThreadListener {
|
|||
{
|
||||
this.controller.update();
|
||||
}
|
||||
this.textureMap.updateAnimations();
|
||||
this.textureMap.update();
|
||||
if (this.open != null)
|
||||
{
|
||||
this.open.updateScreen();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue