add FreeTexImageData hook to help single-copy texturing in drivers

This commit is contained in:
Keith Whitwell
2005-03-22 14:27:10 +00:00
parent 050b77a9ac
commit 3e62d3a8d8
6 changed files with 63 additions and 37 deletions

View File

@@ -103,6 +103,7 @@ _mesa_init_driver_functions(struct dd_function_table *driver)
driver->NewTextureObject = _mesa_new_texture_object;
driver->DeleteTexture = _mesa_delete_texture_object;
driver->NewTextureImage = _mesa_new_texture_image;
driver->FreeTexImageData = _mesa_free_texture_image_data;
driver->IsTextureResident = NULL;
driver->PrioritizeTexture = NULL;
driver->ActiveTexture = NULL;