File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/main/java/me/cortex/voxy/client/mixin/sodium Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 22
33import me .cortex .voxy .commonImpl .VoxyCommon ;
44import me .cortex .voxy .commonImpl .VoxyInstance ;
5+ import net .caffeinemc .mods .sodium .client .gl .device .CommandList ;
56import net .caffeinemc .mods .sodium .client .render .SodiumWorldRenderer ;
67import org .spongepowered .asm .mixin .Mixin ;
78import org .spongepowered .asm .mixin .injection .At ;
89import org .spongepowered .asm .mixin .injection .Inject ;
10+ import org .spongepowered .asm .mixin .injection .callback .CallbackInfo ;
911
1012@ Mixin (value = SodiumWorldRenderer .class , remap = false )
1113public class MixinSodiumWorldRenderer {
1214 @ Inject (method = "initRenderer" , at = @ At ("TAIL" ), remap = false )
13- private void voxy$injectThreadUpdate () {
15+ private void voxy$injectThreadUpdate (CommandList cl , CallbackInfo ci ) {
1416 var vi = VoxyCommon .getInstance ();
1517 if (vi != null ) vi .updateDedicatedThreads ();
1618 }
You can’t perform that action at this time.
0 commit comments