diff options
author | Brian Paul <[email protected]> | 2009-09-27 17:07:22 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-09-27 17:07:22 -0600 |
commit | 0f91e4461fb3a7410c948acde270d97caa851ed6 (patch) | |
tree | 79d3bacf8803e9ace35c6d1d3618e42890a91372 | |
parent | 722b76156486bbb03f8504e8f7a5db05b9257da5 (diff) |
mesa: minor clean-up in _mesa_texstore_srgb8()
-rw-r--r-- | src/mesa/main/texstore.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/main/texstore.c b/src/mesa/main/texstore.c index f457e08a5ba..f4df71d769b 100644 --- a/src/mesa/main/texstore.c +++ b/src/mesa/main/texstore.c @@ -3058,16 +3058,14 @@ GLboolean _mesa_texstore_srgb8(TEXSTORE_PARAMS) { const struct gl_texture_format *newDstFormat; - StoreTexImageFunc store; GLboolean k; ASSERT(dstFormat == &_mesa_texformat_srgb8); /* reuse normal rgb texstore code */ newDstFormat = &_mesa_texformat_rgb888; - store = _mesa_texstore_rgb888; - k = store(ctx, dims, baseInternalFormat, + k = _mesa_texstore_rgb888(ctx, dims, baseInternalFormat, newDstFormat, dstAddr, dstXoffset, dstYoffset, dstZoffset, dstRowStride, dstImageOffsets, |