mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 18:16:08 +02:00
fixed use of uninitialized variable warning
This commit is contained in:
parent
a95e5487fc
commit
d6ebbd8633
1 changed files with 1 additions and 1 deletions
|
@ -1743,7 +1743,7 @@ int VoxelAugmentVisitor::visit(MetavoxelInfo& info) {
|
|||
for (int z = 0; z < expanded; z++) {
|
||||
const QRgb* colorY = colorZ;
|
||||
for (int y = 0; y < expanded; y++) {
|
||||
int lastIndex;
|
||||
int lastIndex = 0;
|
||||
const QRgb* colorX = colorY;
|
||||
for (int x = 0; x < expanded; x++) {
|
||||
int alpha0 = colorX[0] >> ALPHA_OFFSET;
|
||||
|
|
Loading…
Reference in a new issue