diff options
author | Kristian Høgsberg <[email protected]> | 2010-05-11 12:07:10 -0400 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2010-05-11 14:06:22 -0400 |
commit | 199b0894b501607bf8d599ef5efc08cd6c08c79d (patch) | |
tree | 7c545c23739311eee3c8897b2a1d3b7ee09dae92 /src/mesa/main/context.c | |
parent | 08e443a1c8218e43dcd953859843d95d9020a892 (diff) |
mesa: Optimize get.c by using a table-driven approach
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r-- | src/mesa/main/context.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 4dd448a698d..e140a21b354 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -415,6 +415,7 @@ one_time_init( GLcontext *ctx ) } _mesa_init_sqrt_table(); + _mesa_init_get_hash(ctx); for (i = 0; i < 256; i++) { _mesa_ubyte_to_float_color_tab[i] = (float) i / 255.0F; |