Вот такая проблема Подскажите из-за чего она может быть
Сам рендер
Код
texture.bind();
GL11.glBegin(GL11.GL_QUADS);
GL11.glTexCoord2f(0, 0);
GL11.glVertex2f(CaveArena.player.x, CaveArena.player.y);
GL11.glTexCoord2f(1, 0);
GL11.glVertex2f(CaveArena.player.x+texture.getTextureWidth(), CaveArena.player.y);
GL11.glTexCoord2f(1, 1);
GL11.glVertex2f(CaveArena.player.x+texture.getTextureWidth(), CaveArena.player.y+texture.getTextureHeight());
GL11.glTexCoord2f(0, 1);
GL11.glVertex2f(CaveArena.player.x, CaveArena.player.y+texture.getTextureHeight());
GL11.glEnd();
В основном классе инициализация
Код
GL11.glEnable(GL11.GL_TEXTURE_2D);
GL11.glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
GL11.glEnable(GL11.GL_BLEND);
GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
GL11.glViewport(0, 0, width, height);
GL11.glMatrixMode(GL11.GL_MODELVIEW);
GL11.glMatrixMode(GL11.GL_PROJECTION);
GL11.glLoadIdentity();
GL11.glOrtho(0, width, height, 0, 1, -1);
GL11.glMatrixMode(GL11.GL_MODELVIEW);