Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d360402bc3 | |||
| 6c56d09b18 |
+4
-4
@@ -362,7 +362,7 @@ public class MinecraftRenderWrapper implements IMinecraftRenderWrapper
|
|||||||
if (glTexture == null)
|
if (glTexture == null)
|
||||||
{
|
{
|
||||||
// shouldn't happen, but just in case
|
// shouldn't happen, but just in case
|
||||||
return -1;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
return glTexture.glId();
|
return glTexture.glId();
|
||||||
@@ -376,7 +376,7 @@ public class MinecraftRenderWrapper implements IMinecraftRenderWrapper
|
|||||||
this.depthTextureCastFailLogged = true;
|
this.depthTextureCastFailLogged = true;
|
||||||
LOGGER.error("Unable to cast render Target depth texture to GlTexture. MC or a rendering mod may have changed the object type.", e);
|
LOGGER.error("Unable to cast render Target depth texture to GlTexture. MC or a rendering mod may have changed the object type.", e);
|
||||||
}
|
}
|
||||||
return -1;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@@ -392,7 +392,7 @@ public class MinecraftRenderWrapper implements IMinecraftRenderWrapper
|
|||||||
if (glTexture == null)
|
if (glTexture == null)
|
||||||
{
|
{
|
||||||
// shouldn't happen, but just in case
|
// shouldn't happen, but just in case
|
||||||
return -1;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
return glTexture.glId();
|
return glTexture.glId();
|
||||||
@@ -405,7 +405,7 @@ public class MinecraftRenderWrapper implements IMinecraftRenderWrapper
|
|||||||
this.colorTextureCastFailLogged = true;
|
this.colorTextureCastFailLogged = true;
|
||||||
LOGGER.error("Unable to cast render Target color texture to GlTexture. MC or a rendering mod may have changed the object type.", e);
|
LOGGER.error("Unable to cast render Target color texture to GlTexture. MC or a rendering mod may have changed the object type.", e);
|
||||||
}
|
}
|
||||||
return -1;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
Submodule coreSubProjects updated: 4a3c24f39e...2a4bfef7a6
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"pack": {
|
||||||
|
"pack_format": 7,
|
||||||
|
"supported_formats": {
|
||||||
|
"min_inclusive": 7,
|
||||||
|
"max_inclusive": 90000
|
||||||
|
},
|
||||||
|
"description": "Distant Horizons"
|
||||||
|
}
|
||||||
|
}
|
||||||
+2
-2
@@ -45,7 +45,7 @@ public class NeoforgeMinecraftRenderWrapper extends MinecraftRenderWrapper
|
|||||||
this.depthTextureCastFailLogged = true;
|
this.depthTextureCastFailLogged = true;
|
||||||
LOGGER.error("Unable to cast render Target depth texture to GlTexture. MC or a rendering mod may have changed the object type.", e);
|
LOGGER.error("Unable to cast render Target depth texture to GlTexture. MC or a rendering mod may have changed the object type.", e);
|
||||||
}
|
}
|
||||||
return -1;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@@ -72,7 +72,7 @@ public class NeoforgeMinecraftRenderWrapper extends MinecraftRenderWrapper
|
|||||||
this.colorTextureCastFailLogged = true;
|
this.colorTextureCastFailLogged = true;
|
||||||
LOGGER.error("Unable to cast render Target color texture to ValidationGpuTexture or GlTexture. MC, Neoforge, or a rendering mod may have changed the object type.", e);
|
LOGGER.error("Unable to cast render Target color texture to ValidationGpuTexture or GlTexture. MC, Neoforge, or a rendering mod may have changed the object type.", e);
|
||||||
}
|
}
|
||||||
return -1;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"pack": {
|
||||||
|
"pack_format": 7,
|
||||||
|
"supported_formats": {
|
||||||
|
"min_inclusive": 7,
|
||||||
|
"max_inclusive": 90000
|
||||||
|
},
|
||||||
|
"description": "Distant Horizons"
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user