Skip to content

Commit a8ce191

Browse files
authored
Remove unnecessary config field sets in example (#532)
1 parent 8b0aa01 commit a8ce191

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Utils/Example/astc_api_example.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// SPDX-License-Identifier: Apache-2.0
22
// ----------------------------------------------------------------------------
3-
// Copyright 2021 Arm Limited
3+
// Copyright 2021-2024 Arm Limited
44
//
55
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
66
// use this file except in compliance with the License. You may obtain a copy
@@ -79,10 +79,6 @@ int main(int argc, char **argv)
7979
// ------------------------------------------------------------------------
8080
// Initialize the default configuration for the block size and quality
8181
astcenc_config config;
82-
config.block_x = block_x;
83-
config.block_y = block_y;
84-
config.profile = profile;
85-
8682
astcenc_error status;
8783
status = astcenc_config_init(profile, block_x, block_y, block_z, quality, 0, &config);
8884
if (status != ASTCENC_SUCCESS)

0 commit comments

Comments
 (0)