diff options
author | Eric Anholt <eric@anholt.net> | 2007-11-05 14:55:52 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2007-11-20 11:30:12 -0800 |
commit | 93c98a466947570e0589b662df49095b2f4bc43c (patch) | |
tree | 2b3dacf90b443c8feb47a5550fc9bb5a0b0b2407 /src/mesa/drivers/dri/i965/intel_tex.c | |
parent | e962997429aceae8286e09c6ca07bcd52f588f05 (diff) |
[965] Replace 965 texture format code with common code.
The only functional difference should be that 965 now gets the optimization
where textures default to 16bpp when the screen is 16bpp.
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_tex.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_tex.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_tex.c b/src/mesa/drivers/dri/i965/intel_tex.c index 4523969bfa..e98e9bbfc4 100644 --- a/src/mesa/drivers/dri/i965/intel_tex.c +++ b/src/mesa/drivers/dri/i965/intel_tex.c @@ -289,6 +289,7 @@ intel_delete_texture_object( GLcontext *ctx, struct gl_texture_object *texObj ) void intelInitTextureFuncs( struct dd_function_table *functions ) { functions->NewTextureObject = intelNewTextureObject; + functions->ChooseTextureFormat = intelChooseTextureFormat; functions->TexImage1D = intelTexImage1D; functions->TexImage2D = intelTexImage2D; functions->TexImage3D = intelTexImage3D; |