From d1676c06e44c6349f57d1b1c3d77127a6d31920e Mon Sep 17 00:00:00 2001 From: Peter Harris Date: Tue, 3 Dec 2024 23:00:05 +0000 Subject: [PATCH 1/2] Remove unnecessary config field sets --- Utils/Example/astc_api_example.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Utils/Example/astc_api_example.cpp b/Utils/Example/astc_api_example.cpp index 4990cfb9d..01a621b48 100644 --- a/Utils/Example/astc_api_example.cpp +++ b/Utils/Example/astc_api_example.cpp @@ -79,10 +79,6 @@ int main(int argc, char **argv) // ------------------------------------------------------------------------ // Initialize the default configuration for the block size and quality astcenc_config config; - config.block_x = block_x; - config.block_y = block_y; - config.profile = profile; - astcenc_error status; status = astcenc_config_init(profile, block_x, block_y, block_z, quality, 0, &config); if (status != ASTCENC_SUCCESS) From 2a3d7c00e6b58ed47c69c851d1e7e406b4610642 Mon Sep 17 00:00:00 2001 From: Peter Harris Date: Tue, 3 Dec 2024 23:03:00 +0000 Subject: [PATCH 2/2] Update copyright year --- Utils/Example/astc_api_example.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utils/Example/astc_api_example.cpp b/Utils/Example/astc_api_example.cpp index 01a621b48..438915b78 100644 --- a/Utils/Example/astc_api_example.cpp +++ b/Utils/Example/astc_api_example.cpp @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 // ---------------------------------------------------------------------------- -// Copyright 2021 Arm Limited +// Copyright 2021-2024 Arm Limited // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy