diff options
author | Brian <[email protected]> | 2008-03-18 16:58:15 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2008-03-18 17:18:10 -0600 |
commit | e5a20499d84ba8d270c3144f2c1c7615eeb077c7 (patch) | |
tree | 04fffad65bc6ff6500705264bf143096fe439759 /src | |
parent | 4bd2b74441092154f0d0048822c6e36cfcc183af (diff) |
gallium: make the gen_mipmap_state struct private
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/auxiliary/util/u_gen_mipmap.c | 13 | ||||
-rw-r--r-- | src/gallium/auxiliary/util/u_gen_mipmap.h | 13 |
2 files changed, 14 insertions, 12 deletions
diff --git a/src/gallium/auxiliary/util/u_gen_mipmap.c b/src/gallium/auxiliary/util/u_gen_mipmap.c index e32ce768c49..e18f8ab72ac 100644 --- a/src/gallium/auxiliary/util/u_gen_mipmap.c +++ b/src/gallium/auxiliary/util/u_gen_mipmap.c @@ -50,6 +50,19 @@ #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 { diff --git a/src/gallium/auxiliary/util/u_gen_mipmap.h b/src/gallium/auxiliary/util/u_gen_mipmap.h index 6ee909f0a6f..80496140a24 100644 --- a/src/gallium/auxiliary/util/u_gen_mipmap.h +++ b/src/gallium/auxiliary/util/u_gen_mipmap.h @@ -31,18 +31,7 @@ #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 * |