diff options
author | Oliver McFadden <z3ro.geek@gmail.com> | 2007-09-04 16:59:37 +0000 |
---|---|---|
committer | Oliver McFadden <z3ro.geek@gmail.com> | 2007-09-04 16:59:37 +0000 |
commit | 669ed0431b6addfaa653661a1501317a9c9db0db (patch) | |
tree | 868ab1169d97add939aa3e5224449161a1463396 | |
parent | 0df5a7a43887ebfdf82284de5c629ddbcd63f470 (diff) |
Corrected an alpha test bug; forgot the ref value.
-rw-r--r-- | src/gl_alpha_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gl_alpha_test.c b/src/gl_alpha_test.c index 43e9570..1ceb3f2 100644 --- a/src/gl_alpha_test.c +++ b/src/gl_alpha_test.c @@ -58,13 +58,13 @@ gl_alpha_test (void) snprintf (buf, BUFSIZ, "%s_%f", alpha_test[i].name, j); test_prologue (buf); glEnable (GL_ALPHA_TEST); - glAlphaFunc (alpha_test[i].id); + glAlphaFunc (alpha_test[i].id, j); tri (); test_epilogue (true); } } - glAlphaFunc (GL_ALWAYS); + glAlphaFunc (GL_ALWAYS, 0.0); glDisable (GL_ALPHA_TEST); } |