mirror of
				https://github.com/libsdl-org/SDL.git
				synced 2025-10-26 12:27:44 +00:00 
			
		
		
		
	SDL_Vulkan_GetInstanceExtensions: Require Vulkan
Document that this function will fail if the user doesn't call SDL_Vulkan_LoadLibrary (either explicitly or via SDL_CreateWindow) beforehand.
This commit is contained in:
		 Hunter Kvalevog
					Hunter Kvalevog
				
			
				
					committed by
					
						 Sam Lantinga
						Sam Lantinga
					
				
			
			
				
	
			
			
			 Sam Lantinga
						Sam Lantinga
					
				
			
						parent
						
							0953367967
						
					
				
				
					commit
					a2b2464b46
				
			| @@ -130,6 +130,9 @@ extern DECLSPEC void SDLCALL SDL_Vulkan_UnloadLibrary(void); | |||||||
|  * Get the names of the Vulkan instance extensions needed to create a surface |  * Get the names of the Vulkan instance extensions needed to create a surface | ||||||
|  * with SDL_Vulkan_CreateSurface. |  * with SDL_Vulkan_CreateSurface. | ||||||
|  * |  * | ||||||
|  |  * This should be called after either calling SDL_Vulkan_LoadLibrary() or | ||||||
|  |  * creating an SDL_Window with the `SDL_WINDOW_VULKAN` flag. | ||||||
|  |  * | ||||||
|  * If `pNames` is NULL, then the number of required Vulkan instance extensions |  * If `pNames` is NULL, then the number of required Vulkan instance extensions | ||||||
|  * is returned in `pCount`. Otherwise, `pCount` must point to a variable set |  * is returned in `pCount`. Otherwise, `pCount` must point to a variable set | ||||||
|  * to the number of elements in the `pNames` array, and on return the variable |  * to the number of elements in the `pNames` array, and on return the variable | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user