diff --git a/src/extensions/surface.rs b/src/extensions/surface.rs index b3b939a..0573d79 100644 --- a/src/extensions/surface.rs +++ b/src/extensions/surface.rs @@ -8,8 +8,8 @@ use std::ffi::CStr; use ::RawPtr; pub struct Surface { - pub handle: vk::Instance, - pub surface_fn: vk::SurfaceFn, + handle: vk::Instance, + surface_fn: vk::SurfaceFn, } impl Surface { diff --git a/src/extensions/win32_surface.rs b/src/extensions/win32_surface.rs index f7b4bf3..d24d110 100644 --- a/src/extensions/win32_surface.rs +++ b/src/extensions/win32_surface.rs @@ -7,8 +7,8 @@ use std::ffi::CStr; use ::RawPtr; pub struct Win32Surface { - pub handle: vk::Instance, - pub win32_surface_fn: vk::Win32SurfaceFn, + handle: vk::Instance, + win32_surface_fn: vk::Win32SurfaceFn, } impl Win32Surface { diff --git a/src/extensions/xlibsurface.rs b/src/extensions/xlibsurface.rs index de128c1..7661432 100644 --- a/src/extensions/xlibsurface.rs +++ b/src/extensions/xlibsurface.rs @@ -7,8 +7,8 @@ use std::ffi::CStr; use ::RawPtr; pub struct XlibSurface { - pub handle: vk::Instance, - pub xlib_surface_fn: vk::XlibSurfaceFn, + handle: vk::Instance, + xlib_surface_fn: vk::XlibSurfaceFn, } impl XlibSurface {