aboutsummaryrefslogtreecommitdiffstats
path: root/tests/headless.rs
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2014-11-14 16:03:36 +0100
committertomaka <pierre.krieger1708@gmail.com>2014-11-14 16:03:36 +0100
commit28227a2142556f72239105f09a010232bd8f97a4 (patch)
tree52826c150caf1cad30603b26a39b7a5d5a4ea132 /tests/headless.rs
parent1c69819084286b3f62b6995c48a60b8eb3529982 (diff)
parent9b39d99f6efa45bb6629f9f819c7e8589281e61e (diff)
downloadglutin-28227a2142556f72239105f09a010232bd8f97a4.tar.gz
glutin-28227a2142556f72239105f09a010232bd8f97a4.zip
Merge pull request #115 from tomaka/detect-osmesa-errors
Detect OSMesa errors
Diffstat (limited to 'tests/headless.rs')
-rw-r--r--tests/headless.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/headless.rs b/tests/headless.rs
index fe82c1d..084f228 100644
--- a/tests/headless.rs
+++ b/tests/headless.rs
@@ -32,6 +32,7 @@ fn main() {
gl.ReadPixels(0, 0, 1, 1, gl::RGBA, gl::UNSIGNED_BYTE, std::mem::transmute(&mut value));
assert!(value == (0, 255, 0, 255) || value == (0, 64, 0, 255) ||
- value == (0, 64, 0, 255) || value == (0, 64, 0, 0));
+ value == (0, 64, 0, 255) || value == (0, 64, 0, 0),
+ "value is: {}", value);
}
}