fixed clamp in entity shadow

This commit is contained in:
LAX1DUDE 2022-05-01 20:02:51 -07:00
parent 26e026c31c
commit da198ea1c3
3 changed files with 7326 additions and 7322 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -561,6 +561,9 @@ public class EaglerAdapterGL30 extends EaglerAdapterImpl2 {
} }
public static final void glTexParameteri(int p1, int p2, int p3) { public static final void glTexParameteri(int p1, int p2, int p3) {
if(p3 == RealOpenGLEnums.GL_CLAMP_TO_EDGE || p3 == 10496) {
p3 = _wGL_CLAMP;
}
_wglTexParameteri(p1, p2, p3); _wglTexParameteri(p1, p2, p3);
} }