summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorPekka Paalanen <pq@iki.fi>2009-01-24 19:33:21 +0200
committerPekka Paalanen <pq@iki.fi>2009-01-24 19:33:21 +0200
commitc50a9319b13b43754feb9b7396662f5dc8badf65 (patch)
treee4baa4827c33654b81c8a7afdbdc63ea10860fc8 /src/mesa/state_tracker
parentfcf9353fea8343a1a86c8c6e0144c8429440c648 (diff)
mesa: declare pipe_texture in st_public.h
Fixes: In file included from nouveau_context_dri.c:6: ../../../../../../src/mesa/state_tracker/st_public.h:87: warning: 'struct pipe_texture' declared inside parameter list ../../../../../../src/mesa/state_tracker/st_public.h:87: warning: its scope is only this definition or declaration, which is probably not what you want ../../../../../../src/mesa/state_tracker/st_public.h:104: warning: 'struct pipe_texture' declared inside parameter list Signed-off-by: Pekka Paalanen <pq@iki.fi>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_public.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_public.h b/src/mesa/state_tracker/st_public.h
index 2c578f38cc..414218bb58 100644
--- a/src/mesa/state_tracker/st_public.h
+++ b/src/mesa/state_tracker/st_public.h
@@ -53,6 +53,7 @@ struct st_framebuffer;
struct pipe_context;
struct pipe_fence_handle;
struct pipe_surface;
+struct pipe_texture;
struct st_context *st_create_context(struct pipe_context *pipe,