Skip to content

Commit 0e545e2

Browse files
Jason SamsAndroid (Google) Code Review
authored andcommitted
Merge "Fix build issue with new error checks." into jb-mr1-dev
2 parents a277cf8 + dc39e86 commit 0e545e2

File tree

1 file changed

+1
-6
lines changed
  • tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image

1 file changed

+1
-6
lines changed

tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/convolve3x3.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,7 @@ int32_t gWidth;
2222
int32_t gHeight;
2323
rs_allocation gIn;
2424

25-
float gCoeffs[9] ;
26-
void setCoefficients(float coef[9]) {
27-
for(int i=0; i < 9; i++) {
28-
gCoeffs[i] = coef[i];
29-
}
30-
}
25+
float gCoeffs[9];
3126

3227
void root(uchar4 *out, uint32_t x, uint32_t y) {
3328
uint32_t x1 = min((int32_t)x+1, gWidth);

0 commit comments

Comments
 (0)