[vulkan] Fix typos

This commit is contained in:
Sandy Carter 2019-01-18 09:05:42 -05:00
parent c4a2dff099
commit 31a8d189f0
No known key found for this signature in database
GPG Key ID: CBEF579D87B6E212
3 changed files with 2 additions and 3 deletions

View File

@ -52,7 +52,6 @@ VulkanContext::~VulkanContext() {
bool VulkanContext::Initialize() {
auto provider = static_cast<VulkanProvider*>(provider_);
auto device = provider->device();
if (target_window_) {
// Create swap chain used to present to the window.

View File

@ -336,7 +336,7 @@ bool VulkanInstance::CreateInstance() {
return false;
}
// Load Vulkan entrypoints and extensions.
// Load Vulkan entry points and extensions.
volkLoadInstance(handle);
// Enable debug validation, if needed.

View File

@ -70,7 +70,7 @@ int window_demo_main(const std::vector<std::string>& args) {
std::unique_ptr<GraphicsProvider> graphics_provider;
loop->PostSynchronous([&window, &graphics_provider]() {
// Create graphics provider and an initial context for the window.
// The window will finish initialization wtih the context (loading
// The window will finish initialization with the context (loading
// resources, etc).
graphics_provider = CreateDemoGraphicsProvider(window.get());
window->set_context(graphics_provider->CreateContext(window.get()));