summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Steckelmacher <steckdenis@yahoo.fr>2011-08-12 20:49:06 +0200
committerDenis Steckelmacher <steckdenis@yahoo.fr>2011-08-12 20:49:06 +0200
commit3579961a4f78e427258a7448eac508506cb134d4 (patch)
treeac85131b1fdf4791ca66d440a9e15b69fee3fb51
parent6a8abb722aea61b35bce9d3cf8bdcd5952d1e5ad (diff)
Don't forget to undef what we have used.
-rw-r--r--src/runtime/stdlib.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/runtime/stdlib.c b/src/runtime/stdlib.c
index 79da778..9666f1b 100644
--- a/src/runtime/stdlib.c
+++ b/src/runtime/stdlib.c
@@ -472,6 +472,10 @@ uint4 OVERLOAD read_imageui(image3d_t image, sampler_t sampler, float4 coord)
}
+#undef UNSWIZZLE_8
+#undef UNSWIZZLE_16
+#undef UNSWIZZLE_32
+
void OVERLOAD write_imagef(image2d_t image, int2 coord, float4 color)
{
int4 c;