We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83d7ba7 commit 22c896eCopy full SHA for 22c896e
src/sdl2/video.rs
@@ -1143,7 +1143,9 @@ impl Window {
1143
1144
/// Create a Vulkan rendering surface for a window.
1145
///
1146
- /// The `VkInstance` must be created using a prior call to the `vkCreateInstance` function in the Vulkan library.
+ /// The `VkInstance` must be created using a prior call to the
1147
+ /// [`vkCreateInstance`](https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCreateInstance.html)
1148
+ /// function in the Vulkan library.
1149
pub fn vulkan_create_surface(&self, instance: VkInstance) -> Result<VkSurfaceKHR, String> {
1150
let mut surface: sys::VkSurfaceKHR = ptr::null_mut();
1151
if unsafe { sys::SDL_Vulkan_CreateSurface(self.context.raw, instance as *mut _, &mut surface) } == sys::SDL_bool::SDL_FALSE {
0 commit comments