projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b0edff
)
remove needless condition
author
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 13 Oct 2006 17:45:08 +0000
(17:45 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 13 Oct 2006 17:45:08 +0000
(17:45 +0000)
src/mesa/main/image.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/image.c
b/src/mesa/main/image.c
index bb0dd4ae958ce597ea2f99ef099b4a56352d3b8d..695aab5227f494bbb8526d0661b724f78001b53d 100644
(file)
--- 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;
}