inline OpenGL constants to lwjgl GLxx
This commit is contained in:
parent
a891ab4d3a
commit
783adb350b
20 changed files with 183 additions and 495 deletions
|
@ -2,6 +2,8 @@ package game.renderer.model;
|
|||
|
||||
import java.util.List;
|
||||
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
import com.google.common.collect.Lists;
|
||||
|
||||
import game.renderer.RenderBuffer;
|
||||
|
@ -366,7 +368,7 @@ public class ModelRenderer
|
|||
private void compileDisplayList(float scale)
|
||||
{
|
||||
this.displayList = WCF.glGenLists(1);
|
||||
WCF.glNewList(this.displayList, WCF.GL_COMPILE);
|
||||
WCF.glNewList(this.displayList, GL11.GL_COMPILE);
|
||||
// Tessellator.getInstance();
|
||||
RenderBuffer worldrenderer = Tessellator.getBuffer();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue