diff options
author | Brian <[email protected]> | 2007-07-11 13:12:33 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-07-11 13:12:33 -0600 |
commit | 8db689350d9789a754c59b00f68b53f5a7e978ee (patch) | |
tree | 16beba1dfaf1b391ed3e129819e67ded8c7852e6 /progs | |
parent | aac212966314852936352b024bfd897485aa5e83 (diff) |
remove glDepthFunc(GL_LEQUAL) change from prev commit
Diffstat (limited to 'progs')
-rw-r--r-- | progs/trivial/quad-offset-units.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/progs/trivial/quad-offset-units.c b/progs/trivial/quad-offset-units.c index 7ef96928525..d5db21469e6 100644 --- a/progs/trivial/quad-offset-units.c +++ b/progs/trivial/quad-offset-units.c @@ -75,14 +75,6 @@ static void Draw(void) glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glEnable(GL_DEPTH_TEST); - /* - * Because of clamping, the Z values of the first polygon may - * be 1.0 (the same as the clear value) so nothing would be - * drawn if the depth func is GL_LESS. Set it to GL_LEQUAL - * so we can see polygons with Z==1. - */ - glDepthFunc(GL_LEQUAL); - /* red: offset back */ glEnable(GL_POLYGON_OFFSET_FILL); glPolygonOffset(0, 4); |