[vulkan] Fix typos
This commit is contained in:
@@ -52,7 +52,6 @@ VulkanContext::~VulkanContext() {
|
|||||||
|
|
||||||
bool VulkanContext::Initialize() {
|
bool VulkanContext::Initialize() {
|
||||||
auto provider = static_cast<VulkanProvider*>(provider_);
|
auto provider = static_cast<VulkanProvider*>(provider_);
|
||||||
auto device = provider->device();
|
|
||||||
|
|
||||||
if (target_window_) {
|
if (target_window_) {
|
||||||
// Create swap chain used to present to the window.
|
// Create swap chain used to present to the window.
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ int window_demo_main(const std::vector<std::string>& args) {
|
|||||||
std::unique_ptr<GraphicsProvider> graphics_provider;
|
std::unique_ptr<GraphicsProvider> graphics_provider;
|
||||||
loop->PostSynchronous([&window, &graphics_provider]() {
|
loop->PostSynchronous([&window, &graphics_provider]() {
|
||||||
// Create graphics provider and an initial context for the window.
|
// 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).
|
// resources, etc).
|
||||||
graphics_provider = CreateDemoGraphicsProvider(window.get());
|
graphics_provider = CreateDemoGraphicsProvider(window.get());
|
||||||
window->set_context(graphics_provider->CreateContext(window.get()));
|
window->set_context(graphics_provider->CreateContext(window.get()));
|
||||||
|
|||||||
Reference in New Issue
Block a user