22w13c LAST 'FREE' UPDATE [part 3] Fixed block crack animation z-fighting
This commit is contained in:
parent
86e4c8d04b
commit
fb39eff885
101806
javascript/classes.js
101806
javascript/classes.js
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -233,6 +233,7 @@ public class EaglerAdapterImpl2 {
|
|||
public static final int _wGL_DRAW_FRAMEBUFFER = GL30.GL_DRAW_FRAMEBUFFER;
|
||||
public static final int _wGL_READ_FRAMEBUFFER = GL30.GL_READ_FRAMEBUFFER;
|
||||
public static final int _wGL_FRAMEBUFFER = GL30.GL_FRAMEBUFFER;
|
||||
public static final int _wGL_POLYGON_OFFSET_FILL = GL11.GL_POLYGON_OFFSET_FILL;
|
||||
|
||||
public static final class TextureGL {
|
||||
protected final int obj;
|
||||
|
|
|
@ -4,7 +4,7 @@ public class ConfigConstants {
|
|||
|
||||
public static boolean profanity = false;
|
||||
|
||||
public static final String version = "22w13b";
|
||||
public static final String version = "22w13c";
|
||||
public static final String mainMenuString = "eaglercraft " + version;
|
||||
|
||||
public static final String forkMe = "https://github.com/LAX1DUDE/eaglercraft";
|
||||
|
|
|
@ -308,6 +308,8 @@ public class EaglerAdapterGL30 extends EaglerAdapterImpl2 {
|
|||
case GL_TEXTURE_GEN_Q:
|
||||
enableTexGen = true;
|
||||
break;
|
||||
case GL_POLYGON_OFFSET_FILL:
|
||||
_wglEnable(_wGL_POLYGON_OFFSET_FILL);
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
@ -442,6 +444,8 @@ public class EaglerAdapterGL30 extends EaglerAdapterImpl2 {
|
|||
case GL_TEXTURE_GEN_Q:
|
||||
enableTexGen = false;
|
||||
break;
|
||||
case GL_POLYGON_OFFSET_FILL:
|
||||
_wglDisable(_wGL_POLYGON_OFFSET_FILL);
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -1351,7 +1351,7 @@ public class RenderGlobal implements IWorldAccess {
|
|||
EaglerAdapter.glColor4f(1.0F, 1.0F, 1.0F, 0.5F);
|
||||
EaglerAdapter.glPushMatrix();
|
||||
EaglerAdapter.glDisable(EaglerAdapter.GL_ALPHA_TEST);
|
||||
EaglerAdapter.glPolygonOffset(-3.0F, -3.0F);
|
||||
EaglerAdapter.glPolygonOffset(3.0F, 3.0F);
|
||||
EaglerAdapter.glDepthMask(false);
|
||||
EaglerAdapter.glEnable(EaglerAdapter.GL_POLYGON_OFFSET_FILL);
|
||||
EaglerAdapter.glEnable(EaglerAdapter.GL_ALPHA_TEST);
|
||||
|
|
|
@ -460,6 +460,7 @@ public class EaglerAdapterImpl2 {
|
|||
public static final int _wGL_READ_FRAMEBUFFER = READ_FRAMEBUFFER;
|
||||
public static final int _wGL_DRAW_FRAMEBUFFER = DRAW_FRAMEBUFFER;
|
||||
public static final int _wGL_FRAMEBUFFER = FRAMEBUFFER;
|
||||
public static final int _wGL_POLYGON_OFFSET_FILL = POLYGON_OFFSET_FILL;
|
||||
|
||||
public static final class TextureGL {
|
||||
protected final WebGLTexture obj;
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user