gallium: replace assignment with pipe_texture_reference()

This commit is contained in:
Brian Paul
2008-05-20 15:12:26 -06:00
parent ac09b0e0eb
commit 7899ecdd65

View File

@@ -197,6 +197,6 @@ st_generate_mipmap(GLcontext *ctx, GLenum target,
dstImage->TexFormat = srcImage->TexFormat; dstImage->TexFormat = srcImage->TexFormat;
stImage = (struct st_texture_image *) dstImage; stImage = (struct st_texture_image *) dstImage;
stImage->pt = pt; pipe_texture_reference(&stImage->pt, pt);
} }
} }