diff options
author | José Fonseca <jfonseca@vmware.com> | 2014-10-29 11:30:59 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2014-10-29 15:19:50 +0000 |
commit | 495b484b4009c87ffbe8a503b1fe44c98ab579f4 (patch) | |
tree | 5bf3707c0251de469180f5d4c2948c3c313d73f1 | |
parent | f6d5fc857bdfe8dbd03d9fd39635e0da9c83a4a6 (diff) |
gl-1.0-readpixsanity: Remove log2 re-definition.
It's already defined in tests/util/piglit-util.h if necessary, furthermore
it's a macro on MSVC, so redefining it causes errors.
Reviewed-by: Brian Paul <brianp@vmware.com>
-rw-r--r-- | tests/spec/gl-1.0/readpix.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/spec/gl-1.0/readpix.c b/tests/spec/gl-1.0/readpix.c index ab728068d..7ee0be9de 100644 --- a/tests/spec/gl-1.0/readpix.c +++ b/tests/spec/gl-1.0/readpix.c @@ -75,13 +75,6 @@ random_float(void) return (float) rand() / RAND_MAX; } -/** Computes log base 2 (copied from Glean's misc.cpp) */ -double -log2(double x) -{ - return 1.4426950408889634 * log(x); -} - /** * (Copied from Glean's misc.cpp.) * Utility routine to compute error, expressed in bits |