glfw: update TODOs

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2021-10-16 18:28:28 -07:00 committed by Stephen Gutekanst
parent fcbfe70c66
commit 12261c1d9c
2 changed files with 4 additions and 3 deletions

View file

@ -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");

View file

@ -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.