Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

glEnable/glDisable for GL_DEPTH_TEST is not exposed #85

Closed
KaneTW opened this issue Apr 24, 2017 · 1 comment
Closed

glEnable/glDisable for GL_DEPTH_TEST is not exposed #85

KaneTW opened this issue Apr 24, 2017 · 1 comment

Comments

@KaneTW
Copy link

KaneTW commented Apr 24, 2017

No description provided.

@svenpanne
Copy link
Member

Actually it is exposed, perhaps not in the way you expected it, see http://hackage.haskell.org/package/OpenGL-3.0.1.0/docs/Graphics-Rendering-OpenGL-GL-PerFragment.html#g:7. depthFunc $= Nothing disables the depth test, depthFunc $= Just Less enables it with "less" as the comparison function, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants