diff --git a/build/android/app/src/main/AndroidManifest.xml b/build/android/app/src/main/AndroidManifest.xml index f4736da..ec734d7 100644 --- a/build/android/app/src/main/AndroidManifest.xml +++ b/build/android/app/src/main/AndroidManifest.xml @@ -1,7 +1,7 @@ + android:versionCode="19" + android:versionName="1.0.3"> event) { case InputEvent::kDragEnd: if (((GetScreenSize() / 2) * 0.9f - event->GetVector()).Length() <= 0.25f) { - SetSatsVisible(!stats_->IsVisible()); + SetStatsVisible(!stats_->IsVisible()); // TODO: Enqueue DragCancel so we can consume this event. } break; case InputEvent::kKeyPress: if (event->GetKeyPress() == 's') { - SetSatsVisible(!stats_->IsVisible()); + SetStatsVisible(!stats_->IsVisible()); // Consume event. return; } @@ -619,7 +617,7 @@ void Engine::ContextLost() { game_->ContextLost(); } -void Engine::SetSatsVisible(bool visible) { +void Engine::SetStatsVisible(bool visible) { stats_->SetVisible(visible); if (visible) stats_->Create("stats_tex"); diff --git a/src/engine/engine.h b/src/engine/engine.h index ecb53a8..5ea4790 100644 --- a/src/engine/engine.h +++ b/src/engine/engine.h @@ -235,7 +235,7 @@ class Engine : public PlatformObserver { void ContextLost(); - void SetSatsVisible(bool visible); + void SetStatsVisible(bool visible); std::unique_ptr PrintStats(); Engine(const Engine&) = delete; diff --git a/src/engine/renderer/vulkan/renderer_vulkan.cc b/src/engine/renderer/vulkan/renderer_vulkan.cc index 7affd05..4aedd24 100644 --- a/src/engine/renderer/vulkan/renderer_vulkan.cc +++ b/src/engine/renderer/vulkan/renderer_vulkan.cc @@ -907,7 +907,7 @@ bool RendererVulkan::InitializeInternal() { } // In this simple engine we use only one descriptor set layout that is for - // textures. We use push contants for everything else. + // textures. We use push constants for everything else. VkDescriptorSetLayoutBinding ds_layout_binding; ds_layout_binding.descriptorType = VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER; ds_layout_binding.descriptorCount = 1;