mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-25 06:41:31 +11:00
Fix log prefix
This commit is contained in:
parent
19475f8521
commit
de3f354566
|
@ -18,7 +18,7 @@ static THREAD_INIT: Once = ONCE_INIT;
|
||||||
|
|
||||||
fn x_error_callback(_: *mut ffi::Display, event: *mut ffi::XErrorEvent) -> libc::c_int {
|
fn x_error_callback(_: *mut ffi::Display, event: *mut ffi::XErrorEvent) -> libc::c_int {
|
||||||
unsafe {
|
unsafe {
|
||||||
println!("x error code={} major={} minor={}!", (*event).error_code, (*event).request_code, (*event).minor_code);
|
println!("[glutin] x error code={} major={} minor={}!", (*event).error_code, (*event).request_code, (*event).minor_code);
|
||||||
}
|
}
|
||||||
0
|
0
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue