mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 13:38:06 +02:00
rusticl/screen: fix driver_uuid on non x86
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9116 Reviewed-by: Karol Herbst <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23284>
This commit is contained in:
parent
6439edd644
commit
62817ce396
1 changed files with 2 additions and 2 deletions
|
|
@ -11,7 +11,7 @@ use mesa_rust_util::string::*;
|
|||
use std::convert::TryInto;
|
||||
use std::ffi::CStr;
|
||||
use std::mem::size_of;
|
||||
use std::os::raw::c_char;
|
||||
use std::os::raw::c_schar;
|
||||
use std::os::raw::c_uchar;
|
||||
use std::os::raw::c_void;
|
||||
use std::ptr;
|
||||
|
|
@ -267,7 +267,7 @@ impl PipeScreen {
|
|||
unsafe { *self.ldev.ldev }.type_
|
||||
}
|
||||
|
||||
pub fn driver_uuid(&self) -> Option<[c_char; UUID_SIZE]> {
|
||||
pub fn driver_uuid(&self) -> Option<[c_schar; UUID_SIZE]> {
|
||||
let mut uuid = [0; UUID_SIZE];
|
||||
let ptr = uuid.as_mut_ptr();
|
||||
unsafe {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue