Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

Commit

Permalink
Merge Prep
Browse files Browse the repository at this point in the history
  • Loading branch information
CADIndie committed Sep 5, 2024
1 parent f88f506 commit 52a54a3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,7 @@ public static void renderSingleView(RenderPass eye, DeltaTracker.Timer timer, bo
mc.getProfiler().pop();

VRShaders.ViewportInfo.setSafe(0.0f, 0.0f, dataHolder.vrRenderer.framebufferEye0.viewWidth, dataHolder.vrRenderer.framebufferEye0.viewHeight);
((RenderTargetExtension) rendertarget).vivecraft$blitToScreen(0, dataHolder.vrRenderer.framebufferEye0.viewWidth, dataHolder.vrRenderer.framebufferEye0.viewHeight, 0, false, 0.0f, 0.0f, true);
ProgramManager.glUseProgram(0);
((RenderTargetExtension) rendertarget).vivecraft$blitFovReduction(VRShaders.gsrShader, dataHolder.vrRenderer.framebufferEye0.viewWidth, dataHolder.vrRenderer.framebufferEye0.viewHeight); ProgramManager.glUseProgram(0);
checkGLError("post overlay" + eye);
}

Expand Down
8 changes: 4 additions & 4 deletions fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ dependencies {
include(implementation('com.electronwill.night-config:toml:3.6.6'))
include(implementation('com.electronwill.night-config:core:3.6.6'))

include(implementation("org.lwjgl:lwjgl-openvr:3.3.2"))
// include(implementation("org.lwjgl:lwjgl-openvr:3.3.1:natives-linux"))
// include(implementation("org.lwjgl:lwjgl-openvr:3.3.1:natives-macos"))
// include(implementation("org.lwjgl:lwjgl-openvr:3.3.1:natives-windows"))
include(implementation("org.lwjgl:lwjgl-openvr:3.3.3"))
// include(implementation("org.lwjgl:lwjgl-openvr:3.3.3:natives-linux"))
// include(implementation("org.lwjgl:lwjgl-openvr:3.3.3:natives-macos"))
// include(implementation("org.lwjgl:lwjgl-openvr:3.3.3:natives-windows"))

}

Expand Down

0 comments on commit 52a54a3

Please sign in to comment.