diff options
author | Brian Paul <[email protected]> | 2009-12-11 11:39:53 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-12-11 11:39:55 -0700 |
commit | 8f2a1736635368951c3f30e484ee6137066964d6 (patch) | |
tree | a0f9331deaaf29bcdffee58c3971ff5c15b4a310 /src/gallium/auxiliary/util/u_surface.h | |
parent | 205da96fc64a197b7d1a15010456402030d8893b (diff) |
gallium/util: simplify util_framebuffer_state_equal()
And copy width, height in util_copy_framebuffer_state().
Diffstat (limited to 'src/gallium/auxiliary/util/u_surface.h')
-rw-r--r-- | src/gallium/auxiliary/util/u_surface.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gallium/auxiliary/util/u_surface.h b/src/gallium/auxiliary/util/u_surface.h index a9da9aadcbb..3c60df2c3e5 100644 --- a/src/gallium/auxiliary/util/u_surface.h +++ b/src/gallium/auxiliary/util/u_surface.h @@ -30,11 +30,7 @@ #include "pipe/p_compiler.h" - - -struct pipe_screen; -struct pipe_texture; -struct pipe_surface; +#include "pipe/p_state.h" /** @@ -75,4 +71,8 @@ util_copy_framebuffer_state(struct pipe_framebuffer_state *dst, const struct pipe_framebuffer_state *src); +extern void +util_unreference_framebuffer_state(struct pipe_framebuffer_state *fb); + + #endif /* U_SURFACE_H */ |