gallium: make the gen_mipmap_state struct private
authorBrian <brian.paul@tungstengraphics.com>
Tue, 18 Mar 2008 22:58:15 +0000 (16:58 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Tue, 18 Mar 2008 23:18:10 +0000 (17:18 -0600)
src/gallium/auxiliary/util/u_gen_mipmap.c
src/gallium/auxiliary/util/u_gen_mipmap.h

index e32ce768c494286dbc4baeb2c1b39ed61c8d93d2..e18f8ab72ac244a283fb9b2daeaf8edc8023b527 100644 (file)
 #include "tgsi/util/tgsi_parse.h"
 
 
+struct gen_mipmap_state
+{
+   struct pipe_context *pipe;
+
+   void *blend;
+   void *depthstencil;
+   void *rasterizer;
+   /*struct pipe_viewport_state viewport;*/
+   struct pipe_sampler_state *vs;
+   struct pipe_sampler_state *fs;
+};
+
+
 
 enum dtype
 {
index 6ee909f0a6fe718c9320c7c75cf8177678fab733..80496140a24a845f437c4bb4f40b9d2d6cb193bb 100644 (file)
 #include "pipe/p_state.h"
 
 
-struct gen_mipmap_state
-{
-   struct pipe_context *pipe;
-
-   void *blend;
-   void *depthstencil;
-   void *rasterizer;
-   /*struct pipe_viewport_state viewport;*/
-   struct pipe_sampler_state *vs;
-   struct pipe_sampler_state *fs;
-};
-
+struct gen_mipmap_state;
 
 
 extern struct gen_mipmap_state *