X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2Fauxiliary%2Futil%2Fu_format_s3tc.h;h=ae20010cdf8a5cf678fbb8cd120677a3faf660c6;hb=6c0a28084d160b9831c2092af4e963ed2d276b88;hp=97770abd4224033429cfc7378b2c632fdfeda587;hpb=1318848f782cce716d6376ca13aebf68b728e24c;p=mesa.git diff --git a/src/gallium/auxiliary/util/u_format_s3tc.h b/src/gallium/auxiliary/util/u_format_s3tc.h index 97770abd422..ae20010cdf8 100644 --- a/src/gallium/auxiliary/util/u_format_s3tc.h +++ b/src/gallium/auxiliary/util/u_format_s3tc.h @@ -32,6 +32,9 @@ #include "pipe/p_compiler.h" +#ifdef __cplusplus +extern "C" { +#endif enum util_format_dxtn { UTIL_FORMAT_DXT1_RGB = 0x83F0, @@ -214,5 +217,8 @@ util_format_dxt5_srgba_pack_rgba_float(uint8_t *dst_row, unsigned dst_stride, co void util_format_dxt5_srgba_fetch_rgba_float(float *dst, const uint8_t *src, unsigned i, unsigned j); +#ifdef __cplusplus +} +#endif #endif /* U_FORMAT_S3TC_H_ */