util: Make u_framebuffer.h C++ safe.

This commit is contained in:
José Fonseca 2012-11-02 16:56:30 +00:00
parent ccbfe3dde9
commit f1034e944b
1 changed files with 8 additions and 0 deletions

View File

@ -33,6 +33,10 @@
#include "pipe/p_state.h"
#ifdef __cplusplus
extern "C" {
#endif
extern boolean
util_framebuffer_state_equal(const struct pipe_framebuffer_state *dst,
const struct pipe_framebuffer_state *src);
@ -51,4 +55,8 @@ util_framebuffer_min_size(const struct pipe_framebuffer_state *fb,
unsigned *width,
unsigned *height);
#ifdef __cplusplus
}
#endif
#endif /* U_FRAMEBUFFER_H */