Skip to content

Commit

Permalink
CI fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nextdayy committed Apr 20, 2024
1 parent 4a32e1c commit 5c28242
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@ jobs:
with:
fetch-depth: 0

- name: Set up JDK 17
- name: Set up JDK 16
uses: actions/setup-java@v4
with:
java-version: 17
java-version: 16
distribution: temurin

- name: Set up JDK 16
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 16
java-version: 17
distribution: temurin

- uses: actions/cache@v4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@

@Mixin(GameRenderer.class)
public interface GameRendererAccessor {
//#if MC<11900
@Invoker
//#else
//$$ @Invoker("loadPostProcessor")
//#endif
void invokeLoadShader(Identifier identifier);

}
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ private void onResize(int width, int height, CallbackInfo ci) {
//$$ private void onResize(CallbackInfo ci) {
//$$ int[] w = new int[1];
//$$ int[] h = new int[1];
//$$ org.lwjgl.glfw.GLFW.glfwGetWindowSize(getWindow().getHandle(), w, h);
//$$ org.lwjgl.glfw.GLFW.glfwGetWindowSize(this.getMainWindow().getHandle(), w, h);
//$$ EventManager.INSTANCE.post(new ResizeEvent(w[0], h[0]));
//$$ }
//#endif
Expand Down

0 comments on commit 5c28242

Please sign in to comment.