diff options
author | Brian <brian.paul@tungstengraphics.com> | 2008-02-06 09:24:30 -0700 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2008-02-06 09:35:39 -0700 |
commit | 31c98eafb043cbc82e5de206ceecc5888174b5e6 (patch) | |
tree | fbce72265efd094a696c2ee99e9c962870a057ca /src/mesa/pipe/softpipe/sp_texture.h | |
parent | f52f5136e6eed23e55098681e5b082cc452136d6 (diff) |
gallium: change pipe->texture_create() to operate like the CSO functions
Now, pass in a template object and return a new object.
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_texture.h')
-rw-r--r-- | src/mesa/pipe/softpipe/sp_texture.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/pipe/softpipe/sp_texture.h b/src/mesa/pipe/softpipe/sp_texture.h index c6cf370351..fa646c0de9 100644 --- a/src/mesa/pipe/softpipe/sp_texture.h +++ b/src/mesa/pipe/softpipe/sp_texture.h @@ -55,8 +55,9 @@ softpipe_texture(struct pipe_texture *pt) -extern void -softpipe_texture_create(struct pipe_context *pipe, struct pipe_texture **pt); +extern struct pipe_texture * +softpipe_texture_create(struct pipe_context *pipe, + const struct pipe_texture *templat); extern void softpipe_texture_release(struct pipe_context *pipe, struct pipe_texture **pt); |