mirror of
https://github.com/storytold/winit.git
synced 2026-11-28 01:13:21 +01:00
Bigger headless window size in test
This commit is contained in:
1 parent
898a411c86
commit
3d2f71e59b
1 file changed
+2
-2
+2
-2
@@ -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() };
|
||||
|
||||
Reference in new issue
Block a user