diff options
author | Dave Airlie <[email protected]> | 2008-05-09 13:33:56 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2008-05-09 13:33:56 +1000 |
commit | 0449bab2f8722f277213e44da13de6a0b5ae7b5b (patch) | |
tree | 93a61bc993149768c6c72d1e96a6e5a54ad41bc3 /src/mesa/drivers/dri/intel | |
parent | d4e1d85dba8ec4a37f68a284b5a2be15b4f2987a (diff) |
Revert "mesa/intel: map/unmap texture objects around mipmap generation function."
This reverts commit c50ffc4cb89b67ae59208eb72cdb664c846ba987.
I'll fix this using the mipmap hooks I just picked from gallium-0.1
Diffstat (limited to 'src/mesa/drivers/dri/intel')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_tex.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_tex.c b/src/mesa/drivers/dri/intel/intel_tex.c index 1fa9da61bd8..329af0d1b04 100644 --- a/src/mesa/drivers/dri/intel/intel_tex.c +++ b/src/mesa/drivers/dri/intel/intel_tex.c @@ -198,21 +198,6 @@ intel_generate_mipmap(GLcontext *ctx, GLenum target, } } -void intelMapTexture(GLcontext *ctx, struct gl_texture_object *texObj) -{ - struct intel_texture_object *intelObj = intel_texture_object(texObj); - struct intel_context *intel = intel_context(ctx); - - intel_tex_map_images(intel, intelObj); -} - -void intelUnmapTexture(GLcontext *ctx, struct gl_texture_object *texObj) -{ - struct intel_texture_object *intelObj = intel_texture_object(texObj); - struct intel_context *intel = intel_context(ctx); - - intel_tex_unmap_images(intel, intelObj); -} void intelInitTextureFuncs(struct dd_function_table *functions) @@ -248,9 +233,6 @@ intelInitTextureFuncs(struct dd_function_table *functions) functions->UpdateTexturePalette = 0; functions->IsTextureResident = intelIsTextureResident; - functions->MapTexture = intelMapTexture; - functions->UnmapTexture = intelUnmapTexture; - #if DO_DEBUG && !defined(__ia64__) if (INTEL_DEBUG & DEBUG_BUFMGR) functions->TextureMemCpy = timed_memcpy; |