diff options
author | Brian <[email protected]> | 2007-12-07 10:21:56 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2007-12-07 10:21:56 -0700 |
commit | 4c90dc7027a42e046662d52c7300f0eb68a6cf3f (patch) | |
tree | d7d7aacc111ac30c5d1b1e8e35170341a563b5c4 /src/mesa/pipe/softpipe/sp_texture.c | |
parent | 94a3cb078db2e09716604923c02e3a975ae318ae (diff) |
Move struct softpipe_texture definition into sp_texture.h
Also, added softpipe_texture() cast wrapper.
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_texture.c')
-rw-r--r-- | src/mesa/pipe/softpipe/sp_texture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/softpipe/sp_texture.c b/src/mesa/pipe/softpipe/sp_texture.c index 53486f9bba5..e8cdd67435b 100644 --- a/src/mesa/pipe/softpipe/sp_texture.c +++ b/src/mesa/pipe/softpipe/sp_texture.c @@ -412,7 +412,7 @@ softpipe_texture_release(struct pipe_context *pipe, struct pipe_texture **pt) __FUNCTION__, (void *) *pt, (*pt)->refcount - 1); */ if (--(*pt)->refcount <= 0) { - struct softpipe_texture *spt = (struct softpipe_texture *)*pt; + struct softpipe_texture *spt = softpipe_texture(*pt); uint i; /* |