mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-12 01:21:23 -07:00
Replace GLU mipmapping with GL_GENERATE_MIPMAP (GL 1.4)
This commit is contained in:
parent
e79d5ddee8
commit
87f04ac0e0
9 changed files with 63 additions and 58 deletions
|
|
@ -6,7 +6,6 @@ import java.nio.charset.StandardCharsets;
|
|||
import com.jogamp.nativewindow.awt.AWTGraphicsConfiguration;
|
||||
import com.jogamp.nativewindow.awt.JAWTWindow;
|
||||
import com.jogamp.opengl.*;
|
||||
import com.jogamp.opengl.glu.gl2es1.GLUgl2es1;
|
||||
import jogamp.newt.awt.NewtFactoryAWT;
|
||||
import org.openrs2.deob.annotation.OriginalArg;
|
||||
import org.openrs2.deob.annotation.OriginalMember;
|
||||
|
|
@ -694,7 +693,6 @@ public final class GlRenderer {
|
|||
}
|
||||
gl = GLContext.getCurrentGL().getGL2();
|
||||
gl.glLineWidth((float) GameShell.canvasScale);
|
||||
new GLUgl2es1();
|
||||
enabled = true;
|
||||
canvasWidth = canvas.getSize().width;
|
||||
canvasHeight = canvas.getSize().height;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue