summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/softpipe/sp_texture.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_texture.h')
-rw-r--r--src/mesa/pipe/softpipe/sp_texture.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mesa/pipe/softpipe/sp_texture.h b/src/mesa/pipe/softpipe/sp_texture.h
index d142bdddac..0494bf365b 100644
--- a/src/mesa/pipe/softpipe/sp_texture.h
+++ b/src/mesa/pipe/softpipe/sp_texture.h
@@ -61,7 +61,10 @@ softpipe_texture_create(struct pipe_context *pipe, struct pipe_texture **pt);
extern void
softpipe_texture_release(struct pipe_context *pipe, struct pipe_texture **pt);
-
-#endif /* SP_TEXTURE */
+extern struct pipe_surface *
+softpipe_get_tex_surface(struct pipe_context *pipe,
+ struct pipe_texture *pt,
+ unsigned face, unsigned level, unsigned zslice);
+#endif /* SP_TEXTURE */