Fix strict warning initializing texture result in compositor

From a strict language point of view the code required a braces around
`trgba` initialization. But it is easier to rely on the fact that fields
which are not specified are zero-initialized.
This commit is contained in:
Sergey Sharybin 2022-02-10 10:46:06 +01:00
parent 507a4deef1
commit 5312cf50a1
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ void TextureBaseOperation::execute_pixel_sampled(float output[4],
float y,
PixelSampler sampler)
{
TexResult texres = {0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0, nullptr};
TexResult texres = {0.0f};
float texture_size[4];
float texture_offset[4];
float vec[3];