mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-06 17:48:08 +00:00
VertexShaderGen: Clip z using user-defined clipping planes.
This commit is contained in:
parent
159247f4ad
commit
b1ed7e80fb
3 changed files with 10 additions and 0 deletions
|
@ -724,6 +724,7 @@ Renderer::Renderer()
|
|||
glClearDepthf(1.0f);
|
||||
glEnable(GL_DEPTH_TEST);
|
||||
glDepthFunc(GL_LEQUAL);
|
||||
glEnable(GL_CLIP_DISTANCE0);
|
||||
|
||||
glPixelStorei(GL_UNPACK_ALIGNMENT, 4); // 4-byte pixel alignment
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue