From 6c8c2f22e9c7efc5b8fdb3d02a4c19be7a1728ec Mon Sep 17 00:00:00 2001 From: Jason Sams Date: Wed, 7 Jul 2010 11:55:51 -0700 Subject: Fix image processing resource problem for non high-density devices. Protect include file. Change-Id: I5c6721033b37e35261b9fe424d74d3aef0620791 --- libs/rs/java/ImageProcessing/res/drawable/data.jpg | Bin 0 -> 76367 bytes libs/rs/scriptc/rs_math.rsh | 5 ++++- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 libs/rs/java/ImageProcessing/res/drawable/data.jpg diff --git a/libs/rs/java/ImageProcessing/res/drawable/data.jpg b/libs/rs/java/ImageProcessing/res/drawable/data.jpg new file mode 100644 index 000000000000..81a87b1726c2 Binary files /dev/null and b/libs/rs/java/ImageProcessing/res/drawable/data.jpg differ diff --git a/libs/rs/scriptc/rs_math.rsh b/libs/rs/scriptc/rs_math.rsh index 8bf53bf2666c..370929676a2b 100644 --- a/libs/rs/scriptc/rs_math.rsh +++ b/libs/rs/scriptc/rs_math.rsh @@ -1,3 +1,6 @@ +#ifndef __RS_MATH_RSH__ +#define __RS_MATH_RSH__ + #include "rs_cl.rsh" #include "rs_core.rsh" @@ -52,4 +55,4 @@ extern void __attribute__((overloadable))rsForEach(rs_script, rs_allocation inpu extern void __attribute__((overloadable))rsForEach(rs_script, rs_allocation input, int xStart, int yStart, int xEnd, int yEnd); extern void __attribute__((overloadable))rsForEach(rs_script, rs_allocation input, rs_allocation output, int xStart, int yStart, int xEnd, int yEnd); - +#endif -- cgit v1.2.3-59-g8ed1b