summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorTim Rowley <[email protected]>2016-05-12 11:27:57 -0500
committerTim Rowley <[email protected]>2016-05-12 14:12:18 -0500
commit2785f2f2d7b1397b265f1f1ef7158dc728ae42f5 (patch)
tree3cd51a032ba211275514d94bc16bbe9806dfd96e /src/gallium/auxiliary
parent5186545d668e0edb8e0a5276de5de18188b8fdc5 (diff)
swr: properly expose compressed format support
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/util/u_format_s3tc.h6
1 files changed, 6 insertions, 0 deletions
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_ */