mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-14 11:46:56 +02:00
Add braces around std::array intialization to suppress warning
This commit is contained in:
parent
140b9be1c4
commit
26e69de81e
1 changed files with 2 additions and 2 deletions
|
@ -149,10 +149,10 @@ void TextureBaker::processTexture() {
|
|||
|
||||
// Compressed KTX
|
||||
if (_compressionEnabled) {
|
||||
constexpr std::array<image::BackendTarget, 2> BACKEND_TARGETS {
|
||||
constexpr std::array<image::BackendTarget, 2> BACKEND_TARGETS {{
|
||||
image::BackendTarget::GL45,
|
||||
image::BackendTarget::GLES32
|
||||
};
|
||||
}};
|
||||
for (auto target : BACKEND_TARGETS) {
|
||||
auto processedTexture = image::processImage(buffer, _textureURL.toString().toStdString(),
|
||||
ABSOLUTE_MAX_TEXTURE_NUM_PIXELS, _textureType, true,
|
||||
|
|
Loading…
Reference in a new issue