Module: wine
Branch: master
Commit: f1b88ab1f63e6116fed34cc6781d2219cd04fed5
URL: https://source.winehq.org/git/wine.git/?a=commit;h=f1b88ab1f63e6116fed34cc6…
Author: Józef Kucia <jkucia(a)codeweavers.com>
Date: Mon Apr 9 10:25:58 2018 +0200
winevulkan: Fix typos.
Signed-off-by: Józef Kucia <jkucia(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/winevulkan/make_vulkan | 14 +++++++-------
dlls/winevulkan/vulkan.c | 4 ++--
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/dlls/winevulkan/make_vulkan b/dlls/winevulkan/make_vulkan
index 94941c1..7d84cfb 100755
--- a/dlls/winevulkan/make_vulkan
+++ b/dlls/winevulkan/make_vulkan
@@ -124,12 +124,12 @@ CORE_EXTENSIONS = [
DRIVER_VERSION = 3
# Table of functions for which we have a special implementation.
-# This are regular device / instance functions for which we need
-# to more work compared to a regular thunk or because they are
+# These are regular device / instance functions for which we need
+# to do more work compared to a regular thunk or because they are
# part of the driver interface.
# - dispatch set whether we need a function pointer in the device
# / instance dispatch table.
-# - driver sets whether the api is part of the driver interface.
+# - driver sets whether the API is part of the driver interface.
# - thunk sets whether to create a thunk in vulkan_thunks.c.
FUNCTION_OVERRIDES = {
# Global functions
@@ -1199,7 +1199,7 @@ class VkParam(object):
else:
proto += " " + self.name
- # Allows appeninding something to the variable name useful for
+ # Allows appending something to the variable name useful for
# win32 to host conversion.
if postfix is not None:
proto += postfix
@@ -1371,7 +1371,7 @@ class VkParam(object):
return "NULL"
# Dispatchable objects wrap the native handle. For thunk generation we
- # need to pass the native handle to the native vulkan calls.
+ # need to pass the native handle to the native Vulkan calls.
if self.is_dispatchable():
return "{0}->{1}".format(self.name, self.handle.native_handle())
elif conv and self.needs_conversion():
@@ -2250,7 +2250,7 @@ class VkRegistry(object):
funcs[func.name] = func
# To make life easy for the code generation, separate all function
- # calls out in the 3 types of vulkan functions: device, global and instance.
+ # calls out in the 3 types of Vulkan functions: device, global and instance.
device_funcs = []
global_funcs = []
instance_funcs = []
@@ -2474,7 +2474,7 @@ class VkRegistry(object):
if type_info["category"] in ["struct", "union"]:
# We store unions among structs as some structs depend
# on unions. The types are very similar in parsing and
- # generation anyway. The official vulkan scripts use
+ # generation anyway. The official Vulkan scripts use
# a similar kind of hack.
struct = VkStruct.from_xml(t)
structs.append(struct)
diff --git a/dlls/winevulkan/vulkan.c b/dlls/winevulkan/vulkan.c
index 8f67483..ef9f095 100644
--- a/dlls/winevulkan/vulkan.c
+++ b/dlls/winevulkan/vulkan.c
@@ -136,7 +136,7 @@ err:
return NULL;
}
-/* Helper function for release command buffers. */
+/* Helper function to release command buffers. */
static void wine_vk_command_buffers_free(struct VkDevice_T *device, VkCommandPool pool,
uint32_t count, const VkCommandBuffer *buffers)
{
@@ -799,7 +799,7 @@ PFN_vkVoidFunction WINAPI wine_vkGetDeviceProcAddr(VkDevice device, const char *
/* Per the spec, we are only supposed to return device functions as in functions
* for which the first parameter is vkDevice or a child of vkDevice like a
* vkCommandBuffer or vkQueue.
- * Loader takes are of filtering of extensions which are enabled or not.
+ * Loader takes care of filtering of extensions which are enabled or not.
*/
func = wine_vk_get_device_proc_addr(name);
if (func)