summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-05-20 15:12:26 -0600
committerBrian Paul <[email protected]>2008-05-20 15:12:26 -0600
commit7899ecdd6502a323b052f9ad4acd23cbb9ba88db (patch)
treeb3abf9fae1adc5ab5cbdb9d4892aa29d19cf8db2 /src/mesa
parentac09b0e0eb30f6691e35638f210c04ac0f867ea8 (diff)
gallium: replace assignment with pipe_texture_reference()
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/state_tracker/st_gen_mipmap.c2
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 1a0e19c2f92..047743689dc 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);
}
}