Android changes (#1194)

* Update to latest MacOS image

* Minor android cleanup

Removed no longer required std functionality
This commit is contained in:
Sascha Willems 2025-02-28 18:02:15 +01:00 committed by GitHub
parent 495a135c64
commit 42fc44114a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 20 additions and 32 deletions

View file

@ -40,7 +40,6 @@ public:
VkDeviceMemory memory{ VK_NULL_HANDLE };
};
Image renderImage;
Image depthStencilRenderImage;
VulkanExample() : VulkanExampleBase()
{
@ -67,7 +66,7 @@ public:
deviceCreatepNextChain = &enabledDynamicRenderingFeaturesKHR;
}
~VulkanExample()
~VulkanExample() override
{
if (device) {
vkDestroyPipeline(device, pipeline, nullptr);
@ -160,7 +159,7 @@ public:
}
// Enable physical device features required for this example
virtual void getEnabledFeatures()
void getEnabledFeatures() override
{
// Enable anisotropic filtering if supported
if (deviceFeatures.samplerAnisotropy) {
@ -174,7 +173,7 @@ public:
model.loadFromFile(getAssetPath() + "models/voyager.gltf", vulkanDevice, queue, glTFLoadingFlags);
}
void buildCommandBuffers()
void buildCommandBuffers() override
{
VkCommandBufferBeginInfo cmdBufInfo = vks::initializers::commandBufferBeginInfo();
@ -365,7 +364,7 @@ public:
memcpy(uniformBuffer.mapped, &uniformData, sizeof(uniformData));
}
void prepare()
void prepare() override
{
VulkanExampleBase::prepare();
@ -390,7 +389,7 @@ public:
VulkanExampleBase::submitFrame();
}
virtual void render()
void render() override
{
if (!prepared)
return;