DEPTH -> DEPTH_TEST

facepalm
This commit is contained in:
Michael H. Gimle
2020-09-08 09:48:19 +02:00
committed by GitHub
parent b45bf8d2d0
commit bea3f6330a

View File

@@ -77,7 +77,7 @@ fn main() {
// Set up openGL
unsafe {
gl::Enable(gl::DEPTH);
gl::Enable(gl::DEPTH_TEST);
gl::DepthFunc(gl::LESS);
gl::Enable(gl::CULL_FACE);
gl::Disable(gl::MULTISAMPLE);