inline OpenGL constants to lwjgl GLxx
This commit is contained in:
parent
a891ab4d3a
commit
783adb350b
20 changed files with 183 additions and 495 deletions
|
@ -1,5 +1,7 @@
|
|||
package game.renderer.entity;
|
||||
|
||||
import org.lwjgl.opengl.GL13;
|
||||
|
||||
import game.entity.item.EntityXp;
|
||||
import game.renderer.DefaultVertexFormats;
|
||||
import game.renderer.GlState;
|
||||
|
@ -39,7 +41,7 @@ public class RenderXpOrb extends Render<EntityXp>
|
|||
int j = entity.getBrightnessForRender(partialTicks);
|
||||
int k = j % 65536;
|
||||
int l = j / 65536;
|
||||
WCF.glMultiTexCoord2f(WCF.GL_TEXTURE1, (float)k / 1.0F, (float)l / 1.0F);
|
||||
WCF.glMultiTexCoord2f(GL13.GL_TEXTURE1, (float)k / 1.0F, (float)l / 1.0F);
|
||||
GlState.color(1.0F, 1.0F, 1.0F, 1.0F);
|
||||
float f8 = 255.0F;
|
||||
float f9 = ((float)entity.xpColor + partialTicks) / 2.0F;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue