[Piglit] [PATCH v6] pbo: Change the value expected from GetPixelMap.
Sandra Koroniewska
sandra.koroniewska at gmail.com
Thu Jun 22 12:17:47 UTC 2017
This fixes tests/spec/gl-2.1/pbo on Windows Intel driver.
---
tests/spec/gl-2.1/pbo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/spec/gl-2.1/pbo.c b/tests/spec/gl-2.1/pbo.c
index bb4c0352c..5020eeb07 100644
--- a/tests/spec/gl-2.1/pbo.c
+++ b/tests/spec/gl-2.1/pbo.c
@@ -353,7 +353,7 @@ test_pixel_map(void)
}
for (i = 0; i < max; i++) {
- if (pbo_mem[i] != (255 - i)) {
+ if (pbo_mem[i] != max - i - 1) {
REPORT_FAILURE("get PixelMap failed");
return PIGLIT_FAIL;
}
--
2.11.0.windows.1
More information about the Piglit
mailing list