From: Brian Paul Date: Wed, 13 Jan 2010 17:57:44 +0000 (-0700) Subject: llvmpipe: added llvmpipe_texture_const() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9be1feacf2dbd36fa9fb65b9932a74f04a7d9cca;p=mesa.git llvmpipe: added llvmpipe_texture_const() --- diff --git a/src/gallium/drivers/llvmpipe/lp_texture.h b/src/gallium/drivers/llvmpipe/lp_texture.h index 00a20763e43..e37ef6059a2 100644 --- a/src/gallium/drivers/llvmpipe/lp_texture.h +++ b/src/gallium/drivers/llvmpipe/lp_texture.h @@ -73,6 +73,13 @@ llvmpipe_texture(struct pipe_texture *pt) return (struct llvmpipe_texture *) pt; } +static INLINE const struct llvmpipe_texture * +llvmpipe_texture_const(const struct pipe_texture *pt) +{ + return (const struct llvmpipe_texture *) pt; +} + + static INLINE struct llvmpipe_transfer * llvmpipe_transfer(struct pipe_transfer *pt) {