diff options
author | Brian Paul <[email protected]> | 2012-06-05 16:32:23 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-06-06 07:55:59 -0600 |
commit | e42d00b3f4503a0840575c8e5f4517a66c8af613 (patch) | |
tree | c8248d3f0b7bd95fec33d405ce25dc566df8c8b7 /src/mesa/state_tracker | |
parent | 8f5fffe75d2f8ae7c7ee706b53379a25bc673ae4 (diff) |
mesa: consolidate internal glTexSubImage1/2/3D code
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_cb_texture.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c index 3ab14a1bbd9..eb861586c4a 100644 --- a/src/mesa/state_tracker/st_cb_texture.c +++ b/src/mesa/state_tracker/st_cb_texture.c @@ -1397,9 +1397,7 @@ st_init_texture_functions(struct dd_function_table *functions) { functions->ChooseTextureFormat = st_ChooseTextureFormat; functions->TexImage = st_TexImage; - functions->TexSubImage1D = _mesa_store_texsubimage1d; - functions->TexSubImage2D = _mesa_store_texsubimage2d; - functions->TexSubImage3D = _mesa_store_texsubimage3d; + functions->TexSubImage = _mesa_store_texsubimage; functions->CompressedTexSubImage1D = _mesa_store_compressed_texsubimage1d; functions->CompressedTexSubImage2D = _mesa_store_compressed_texsubimage2d; functions->CompressedTexSubImage3D = _mesa_store_compressed_texsubimage3d; |