From 5fe7d29f90fb55edd87186fd8821421a702dd39b Mon Sep 17 00:00:00 2001 From: Mehmet Oguz Derin Date: Mon, 24 May 2021 03:27:34 +0300 Subject: [PATCH] Fix a typo in README.md This commit replaces `excactly` with `exactly` as a typo fix. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1796603..cc2d49e 100644 --- a/README.md +++ b/README.md @@ -450,7 +450,7 @@ vk::DispatchLoaderDynamic dldid( instance, getInstanceProcAddr, device ); device.getQueue(graphics_queue_family_index, 0, &graphics_queue, dldid); ``` -To use the ```DispatchLoaderDynamic``` as the default dispatcher (means: you don't need to explicitly add it to every function call), you need to ```#define VULKAN_HPP_DISPATCH_LOADER_DYNAMIC 1```, and have the macro ```VULKAN_HPP_DEFAULT_DISPATCH_LOADER_DYNAMIC_STORAGE``` excactly once in your source code to provide storage for that default dispatcher. Then you can use it by the macro ```VULKAN_HPP_DEFAULT_DISPATCHER```, as is shown in the code snippets below. +To use the ```DispatchLoaderDynamic``` as the default dispatcher (means: you don't need to explicitly add it to every function call), you need to ```#define VULKAN_HPP_DISPATCH_LOADER_DYNAMIC 1```, and have the macro ```VULKAN_HPP_DEFAULT_DISPATCH_LOADER_DYNAMIC_STORAGE``` exactly once in your source code to provide storage for that default dispatcher. Then you can use it by the macro ```VULKAN_HPP_DEFAULT_DISPATCHER```, as is shown in the code snippets below. To ease creating such a ```DispatchLoaderDynamic```, there is a little helper class ```DynamicLoader```. Creating a full featured ```DispatchLoaderDynamic``` is a two- to three-step process: 1. initialize it with a function pointer of type PFN_vkGetInstanceProcAddr, to get the instance independent function pointers: