From 2a090ae80a597f498f113fe58a772ddf3dca12e0 Mon Sep 17 00:00:00 2001 From: Luca Barbieri Date: Fri, 2 Apr 2010 04:51:50 +0200 Subject: gallium/util: revert util_format_init addition Putting calls to util_format_init all over the codebase is infeasible. Instead, half float tables are pregenerated, and the s3tc library is loaded on demand. I believe this is a solution that combines performance, cleanliness, flexibility and portability. --- src/gallium/drivers/nv50/nv50_context.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/gallium/drivers/nv50/nv50_context.c') diff --git a/src/gallium/drivers/nv50/nv50_context.c b/src/gallium/drivers/nv50/nv50_context.c index 0de75a70b9..92b194a8f8 100644 --- a/src/gallium/drivers/nv50/nv50_context.c +++ b/src/gallium/drivers/nv50/nv50_context.c @@ -71,8 +71,6 @@ nv50_create(struct pipe_screen *pscreen, void *priv) struct nv50_screen *screen = nv50_screen(pscreen); struct nv50_context *nv50; - util_format_init(); - nv50 = CALLOC_STRUCT(nv50_context); if (!nv50) return NULL; -- cgit v1.2.3