Fix log prefix
This commit is contained in:
parent
19475f8521
commit
de3f354566
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue