fix pre 26.2 compiling
This commit is contained in:
+1
-1
@@ -64,7 +64,7 @@ public class BlazeDhRenderApiDefinition extends AbstractDhRenderApiDefinition
|
|||||||
public BlazeDhRenderApiDefinition()
|
public BlazeDhRenderApiDefinition()
|
||||||
{
|
{
|
||||||
#if MC_VER <= MC_26_1_2
|
#if MC_VER <= MC_26_1_2
|
||||||
renderApi = EDhApiRenderApi.OPEN_GL;
|
renderApi = EDhApiRenderingApi.OPEN_GL;
|
||||||
#else
|
#else
|
||||||
// use the same rendering API as Minecraft
|
// use the same rendering API as Minecraft
|
||||||
this.renderApi = MinecraftRenderWrapper.INSTANCE.getMcRenderingApi();
|
this.renderApi = MinecraftRenderWrapper.INSTANCE.getMcRenderingApi();
|
||||||
|
|||||||
Reference in New Issue
Block a user