RpoCommand: output to frex.glsl instead of frex.frag since .frag is supposed to be used only for fragment shaders

This commit is contained in:
J. Fronny 2021-09-15 19:01:01 +00:00
parent 15775448ff
commit 7a6097da1a

View File

@ -21,7 +21,7 @@ public class RpoCommand {
private static final ModContainer respackotps = FabricLoader.getInstance().getModContainer(RpoModInfo.ID).get();
public static void register() {
DISPATCHER.register(literal("rpo").then(literal("dump").then(literal("frex").executes(ctx -> {
ctx.getSource().sendFeedback(dump(FrexCompat.generateShader(), "frex.frag"));
ctx.getSource().sendFeedback(dump(FrexCompat.generateShader(), "frex.glsl"));
return 1;
}))));
DISPATCHER.register(literal("rpo").then(literal("dump").then(literal("config").executes(ctx -> {