chore: Remove culling hacks as they don't work :(
This commit is contained in:
parent
9f9c8b4be7
commit
eb33ec116e
1 changed files with 0 additions and 5 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue