Added missing var declaration.
This commit is contained in:
parent
7aafb514bf
commit
ab8ddd5ab5
@ -174,6 +174,8 @@ public class TextureBlenderAWT extends AbstractTextureBlender {
|
||||
// float blendFactor = this.blendFactor * (1f - ((1f - pixelColor[3]) * materialColor[3]));
|
||||
// float oneMinusFactor = 1f - blendFactor;
|
||||
|
||||
float col;
|
||||
|
||||
switch (blendType) {
|
||||
case MTEX_BLEND:
|
||||
result[0] = blendFactor * pixelColor[0] + oneMinusFactor * materialColor[0];
|
||||
|
Loading…
x
Reference in New Issue
Block a user