mesa: minor clean-up in _mesa_texstore_srgb8()
authorBrian Paul <brianp@vmware.com>
Sun, 27 Sep 2009 23:07:22 +0000 (17:07 -0600)
committerBrian Paul <brianp@vmware.com>
Sun, 27 Sep 2009 23:07:22 +0000 (17:07 -0600)
src/mesa/main/texstore.c

index f457e08a5bab6d4e7a612d0cb1c8489efc3e7ead..f4df71d769b7c1558a30031e75e4aa2d0e4f0966 100644 (file)
@@ -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,