mesa: declare pipe_texture in st_public.h
authorPekka Paalanen <pq@iki.fi>
Sat, 24 Jan 2009 17:33:21 +0000 (19:33 +0200)
committerPekka Paalanen <pq@iki.fi>
Sat, 24 Jan 2009 17:33:21 +0000 (19:33 +0200)
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>
src/mesa/state_tracker/st_public.h

index 2c578f3..414218b 100644 (file)
@@ -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,