Skip to content

Commit

Permalink
Fix 1251: Texture Compression BasisU: Missing device extension (#1264)
Browse files Browse the repository at this point in the history
* Missing extension registration

* Missing optional parameter after cleanup
  • Loading branch information
jeroenbakker-atmind authored Jan 27, 2025
1 parent 271b1e9 commit 8d282d4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021-2024, Sascha Willems
/* Copyright (c) 2021-2025, Sascha Willems
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down Expand Up @@ -26,6 +26,8 @@ TextureCompressionBasisu::TextureCompressionBasisu()
zoom = -1.75f;
rotation = {0.0f, 0.0f, 0.0f};
title = "Basis Universal texture loading";

add_device_extension(VK_IMG_FORMAT_PVRTC_EXTENSION_NAME, true /* optional */);
}

TextureCompressionBasisu::~TextureCompressionBasisu()
Expand Down

0 comments on commit 8d282d4

Please sign in to comment.