summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_framebuffer.h
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2010-05-27 15:48:38 +0100
committerKeith Whitwell <[email protected]>2010-06-07 16:34:55 +0100
commit258f433fffa67710d6424d3703528294133ada65 (patch)
treeeeeaf289beec359187adde8edb684fa17d3d8345 /src/gallium/auxiliary/util/u_framebuffer.h
parentac7c8f7dd3649507f6a5dc4d5222124dd954cbfd (diff)
util: add util_framebuffer_min_size
Diffstat (limited to 'src/gallium/auxiliary/util/u_framebuffer.h')
-rw-r--r--src/gallium/auxiliary/util/u_framebuffer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_framebuffer.h b/src/gallium/auxiliary/util/u_framebuffer.h
index adf1254e1b6..e7dc1e9e41d 100644
--- a/src/gallium/auxiliary/util/u_framebuffer.h
+++ b/src/gallium/auxiliary/util/u_framebuffer.h
@@ -46,4 +46,9 @@ extern void
util_unreference_framebuffer_state(struct pipe_framebuffer_state *fb);
+extern boolean
+util_framebuffer_min_size(const struct pipe_framebuffer_state *fb,
+ unsigned *width,
+ unsigned *height);
+
#endif /* U_FRAMEBUFFER_H */