From: Brian Paul Date: Fri, 13 Oct 2006 17:45:08 +0000 (+0000) Subject: remove needless condition X-Git-Tag: 062012170305~20353 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=40b88fd1f3dedd0137b170a7272854e2bf4c3210;p=profile%2Fivi%2Fmesa.git remove needless condition --- diff --git a/src/mesa/main/image.c b/src/mesa/main/image.c index bb0dd4a..695aab5 100644 --- a/src/mesa/main/image.c +++ b/src/mesa/main/image.c @@ -3479,9 +3479,7 @@ _mesa_pack_index_span( const GLcontext *ctx, GLuint n, if (transferOps & (IMAGE_MAP_COLOR_BIT | IMAGE_SHIFT_OFFSET_BIT)) { /* make a copy of input */ _mesa_memcpy(indexes, source, n * sizeof(GLuint)); - if (transferOps) { - _mesa_apply_ci_transfer_ops(ctx, transferOps, n, indexes); - } + _mesa_apply_ci_transfer_ops(ctx, transferOps, n, indexes); source = indexes; }