From 12261c1d9cc00b28a0923fe136d8007478d71aad Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Sat, 16 Oct 2021 18:28:28 -0700 Subject: [PATCH] glfw: update TODOs Signed-off-by: Stephen Gutekanst --- glfw/src/Window.zig | 2 +- glfw/src/vulkan.zig | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/glfw/src/Window.zig b/glfw/src/Window.zig index 9e46b7f..6db61f0 100644 --- a/glfw/src/Window.zig +++ b/glfw/src/Window.zig @@ -1421,7 +1421,7 @@ test "setTitle" { try window.setTitle("Updated title!"); } -// TODO(slimsag): test appears to fail on at least Linux, image size is potentially wrong. +// TODO(window): test appears to fail on at least Linux, image size is potentially wrong. // test "setIcon" { // const allocator = testing.allocator; // const glfw = @import("main.zig"); diff --git a/glfw/src/vulkan.zig b/glfw/src/vulkan.zig index 02a5f98..20e325a 100644 --- a/glfw/src/vulkan.zig +++ b/glfw/src/vulkan.zig @@ -4,8 +4,6 @@ const c = @import("c.zig").c; const Error = @import("errors.zig").Error; const getError = @import("errors.zig").getError; -// TODO(vulkan): - /// Returns whether the Vulkan loader and an ICD have been found. /// /// This function returns whether the Vulkan loader and any minimally functional ICD have been @@ -29,6 +27,7 @@ pub inline fn vulkanSupported() Error!bool { return supported == c.GLFW_TRUE; } +// TODO(vulkan): // /// Returns the Vulkan instance extensions required by GLFW. // /// // /// This function returns an array of names of Vulkan instance extensions required by GLFW for @@ -108,6 +107,7 @@ pub inline fn getInstanceProcAddress(vk_instance: ?*opaque {}, proc_name: [*c]co return null; } +// TODO(vulkan): // /// Returns whether the specified queue family can present images. // /// // /// This function returns whether the specified queue family of the specified physical device @@ -136,6 +136,7 @@ pub inline fn getInstanceProcAddress(vk_instance: ?*opaque {}, proc_name: [*c]co // /// see also: vulkan_present // GLFWAPI int glfwGetPhysicalDevicePresentationSupport(VkInstance instance, VkPhysicalDevice device, uint32_t queuefamily); +// TODO(vulkan): // /// Creates a Vulkan surface for the specified window. // /// // /// This function creates a Vulkan surface for the specified window.