summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--progs/gallium/unit/u_format_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/progs/gallium/unit/u_format_test.c b/progs/gallium/unit/u_format_test.c
index b8c54aec8df..6ccef236173 100644
--- a/progs/gallium/unit/u_format_test.c
+++ b/progs/gallium/unit/u_format_test.c
@@ -30,6 +30,7 @@
#include <stdio.h>
#include <float.h>
+#include "util/u_half.h"
#include "util/u_format.h"
#include "util/u_format_tests.h"
#include "util/u_format_s3tc.h"
@@ -403,6 +404,7 @@ int main(int argc, char **argv)
{
boolean success;
+ util_half_init_tables();
util_format_s3tc_init();
success = test_all();