diff options
author | Laura Ekstrand <laura@jlekstrand.net> | 2018-03-27 18:34:36 -0700 |
---|---|---|
committer | Laura Ekstrand <laura@jlekstrand.net> | 2018-03-27 18:34:36 -0700 |
commit | 880c784f000f4b2c571a8265a2c91033e75fe0b2 (patch) | |
tree | 9e7ca6133ca80fb351393f5fa84eec3a4f43e6cb /tests | |
parent | 0ad697127f54719e10a64358d3fa3ec4f8455349 (diff) |
Bug fix.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/spec/gl-1.0/bitmap-heart-dance.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/spec/gl-1.0/bitmap-heart-dance.c b/tests/spec/gl-1.0/bitmap-heart-dance.c index 3cb28d0aa..b7ff1cdea 100644 --- a/tests/spec/gl-1.0/bitmap-heart-dance.c +++ b/tests/spec/gl-1.0/bitmap-heart-dance.c @@ -100,6 +100,9 @@ static const char *fragShaderText = " int i = int(fragCoord.y) % ysp; \n" " int pointmask = i > 8 ? 0 : heart[i]; \n" " int j = int(fragCoord.x) % xsp; \n" + " if (j > 8) { \n" + " j = 0; \n" + " } \n" " for (int r = 0; r < j; r++) { \n" " pointmask = pointmask/2; //left shift. \n" " } \n" |