aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorFredrik Noren <fredrik.jw.noren@gmail.com>2016-01-08 00:35:51 -0500
committerFredrik Noren <fredrik.jw.noren@gmail.com>2016-01-08 00:35:51 -0500
commit3d2f71e59b83d00685ee6432aa7804367f9b734e (patch)
treeb4359e4936fddba6f6f8b1fbacf8dbe3259ec885 /tests
parent898a411c86b833b7ef72bd584eb922834a8966b4 (diff)
downloadglutin-3d2f71e59b83d00685ee6432aa7804367f9b734e.tar.gz
glutin-3d2f71e59b83d00685ee6432aa7804367f9b734e.zip
Bigger headless window size in test
Diffstat (limited to 'tests')
-rw-r--r--tests/headless.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/headless.rs b/tests/headless.rs
index f175477..b116139 100644
--- a/tests/headless.rs
+++ b/tests/headless.rs
@@ -11,8 +11,8 @@ use gl::types::*;
#[cfg(not(target_os = "linux"))]
#[test]
fn test_headless() {
- let width: i32 = 2;
- let height: i32 = 1;
+ let width: i32 = 256;
+ let height: i32 = 256;
let window = glutin::HeadlessRendererBuilder::new(width as u32, height as u32).build().unwrap();
unsafe { window.make_current() };