Rename vk::Instance-returning function from device() to instance() (#759)

This commit is contained in:
Marijn Suijten 2023-05-29 22:11:55 +02:00 committed by GitHub
parent d588de01aa
commit 9985b2ca69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -27,6 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `GetSurfaceCapabilities2::get_physical_device_surface_capabilities2()`
- Define `Display` as `c_void` instead of `*mut c_void` to match Xlib (#751)
- `VK_KHR_device_group_creation`: Take borrow of `Entry` in `fn new()` (#753)
- `VK_KHR_device_group_creation`: Rename `vk::Instance`-returning function from `device()` to `instance()` (#759)
### Removed

View file

@ -57,7 +57,7 @@ impl DeviceGroupCreation {
}
#[inline]
pub fn device(&self) -> vk::Instance {
pub fn instance(&self) -> vk::Instance {
self.handle
}
}