Skip to content

Commit

Permalink
Remove unnecessary config field sets in example (#532)
Browse files Browse the repository at this point in the history
  • Loading branch information
solidpixel authored Dec 3, 2024
1 parent 8b0aa01 commit a8ce191
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Utils/Example/astc_api_example.cpp
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit a8ce191

Please sign in to comment.