From 258f433fffa67710d6424d3703528294133ada65 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Thu, 27 May 2010 15:48:38 +0100 Subject: util: add util_framebuffer_min_size --- src/gallium/auxiliary/util/u_framebuffer.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gallium/auxiliary/util/u_framebuffer.h') 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 */ -- cgit v1.2.3