Fix some compiling errors on old MC versions

This commit is contained in:
James Seibel
2026-04-11 17:07:47 -05:00
parent 93313a5c50
commit 6c68e94b96
2 changed files with 3 additions and 3 deletions
@@ -151,7 +151,7 @@ public class BlazeDhTerrainRenderer implements IDhTerrainRenderer
{
this.tryInit();
try(var terrain_profile = profiler.push("terrain render"))
try(IProfilerWrapper.IProfileBlock terrain_profile = profiler.push("terrain render"))
{
profiler.popPush("vert unique uniforms");
{
@@ -413,7 +413,7 @@ public class GlGenericObjectRenderer implements IDhGenericRenderer
// render setup //
try (var setup_profile = profiler.push("setup"))
try (IProfilerWrapper.IProfileBlock setup_profile = profiler.push("setup"))
{
this.init();
@@ -556,7 +556,7 @@ public class GlGenericObjectRenderer implements IDhGenericRenderer
RenderableBoxGroup boxGroup, Vec3d camPos,
IProfilerWrapper profiler)
{
try (var render_profile = profiler.push("vertex setup"))
try (IProfilerWrapper.IProfileBlock render_profile = profiler.push("vertex setup"))
{
// update instance data //