diff options
author | Fredrik Noren <fredrik.jw.noren@gmail.com> | 2016-01-18 13:12:40 -0500 |
---|---|---|
committer | Fredrik Noren <fredrik.jw.noren@gmail.com> | 2016-01-18 13:12:40 -0500 |
commit | 2a66d1cffccd74db2dd52925da31860f9330f27e (patch) | |
tree | bca0f394b7a51a5ebb3926d4c1e4f3f870c23f3f /tests | |
parent | db074dc32ff55a5c6ad3a48c6453ff83c38b0caf (diff) | |
download | glutin-2a66d1cffccd74db2dd52925da31860f9330f27e.tar.gz glutin-2a66d1cffccd74db2dd52925da31860f9330f27e.zip |
Construct cocoa headless context based on args
Diffstat (limited to 'tests')
-rw-r--r-- | tests/headless.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/headless.rs b/tests/headless.rs index c6a5636..c22be40 100644 --- a/tests/headless.rs +++ b/tests/headless.rs @@ -48,8 +48,6 @@ fn test_headless() { let mut values: Vec<u8> = vec![0;(width*height*4) as usize]; gl.ReadPixels(0, 0, width, height, gl::RGBA, gl::UNSIGNED_BYTE, values.as_mut_ptr() as *mut GLvoid); - println!("{:?}", values); - assert_eq!(values[0], 0); assert_eq!(values[1], 255); assert_eq!(values[2], 0); |