diff options
| author | Brian Paul <brian.paul@tungstengraphics.com> | 2006-10-13 17:45:08 +0000 | 
|---|---|---|
| committer | Brian Paul <brian.paul@tungstengraphics.com> | 2006-10-13 17:45:08 +0000 | 
| commit | 40b88fd1f3dedd0137b170a7272854e2bf4c3210 (patch) | |
| tree | 2c41d1e23a517205be5d7a98ad04e67c5ca8ad43 | |
| parent | 5b0edff412f45fe64bd42fb481adeda7d34b0fa8 (diff) | |
remove needless condition
| -rw-r--r-- | src/mesa/main/image.c | 4 | 
1 files changed, 1 insertions, 3 deletions
| diff --git a/src/mesa/main/image.c b/src/mesa/main/image.c index bb0dd4ae95..695aab5227 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;     } | 
