chore: Remove culling hacks as they don't work :(

This commit is contained in:
Tera << 8 2025-06-26 18:25:37 -04:00
parent 9f9c8b4be7
commit eb33ec116e
Signed by: imterah
GPG key ID: 8FA7DD57BA6CEA37

View file

@ -122,11 +122,6 @@ func EnterRenderLoop(config *libconfig.Config, displayMetadata *edidtools.Displa
rl.CameraPerspective, rl.CameraPerspective,
) )
// Disable front and back face culling. It caused issues involving the entire virtual display dissappearing
// If this issue still happens I *am* going to cry
rl.DisableBackfaceCulling()
rl.DisableDepthTest()
horizontalSize := findOptimalHorizontalRes(float32(displayMetadata.MaxHeight), float32(displayMetadata.MaxWidth), verticalSize) horizontalSize := findOptimalHorizontalRes(float32(displayMetadata.MaxHeight), float32(displayMetadata.MaxWidth), verticalSize)
coreMesh := rl.GenMeshPlane(horizontalSize, verticalSize, 1, 1) coreMesh := rl.GenMeshPlane(horizontalSize, verticalSize, 1, 1)