diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-05-20 15:12:26 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-05-20 15:12:26 -0600 |
commit | 7899ecdd6502a323b052f9ad4acd23cbb9ba88db (patch) | |
tree | b3abf9fae1adc5ab5cbdb9d4892aa29d19cf8db2 /src/mesa | |
parent | ac09b0e0eb30f6691e35638f210c04ac0f867ea8 (diff) |
gallium: replace assignment with pipe_texture_reference()
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/state_tracker/st_gen_mipmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_gen_mipmap.c b/src/mesa/state_tracker/st_gen_mipmap.c index 1a0e19c2f9..047743689d 100644 --- a/src/mesa/state_tracker/st_gen_mipmap.c +++ b/src/mesa/state_tracker/st_gen_mipmap.c @@ -197,6 +197,6 @@ st_generate_mipmap(GLcontext *ctx, GLenum target, dstImage->TexFormat = srcImage->TexFormat; stImage = (struct st_texture_image *) dstImage; - stImage->pt = pt; + pipe_texture_reference(&stImage->pt, pt); } } |