1
0
Fork 0
mirror of https://github.com/bjornbytes/lovr.git synced 2024-07-03 04:53:35 +00:00

Disable GL clipping plane;

It was used for instanced stereo.
This commit is contained in:
bjorn 2018-06-11 19:31:35 -07:00
parent 26bb0ea1ac
commit b47e26e688

View file

@ -163,7 +163,6 @@ void lovrGraphicsCreateWindow(int w, int h, bool fullscreen, int msaa, const cha
glfwSwapInterval(0); glfwSwapInterval(0);
glEnable(GL_LINE_SMOOTH); glEnable(GL_LINE_SMOOTH);
glEnable(GL_PROGRAM_POINT_SIZE); glEnable(GL_PROGRAM_POINT_SIZE);
glEnable(GL_CLIP_DISTANCE0);
if (state.gammaCorrect) { if (state.gammaCorrect) {
glEnable(GL_FRAMEBUFFER_SRGB); glEnable(GL_FRAMEBUFFER_SRGB);
} else { } else {