Fix window opacity not being applied on vert (re)construction
This commit is contained in:
parent
43aacc13d9
commit
92ab65ba52
|
@ -371,6 +371,7 @@ struct WindowPrivate
|
||||||
FloatRect texRect = FloatRect(0, 0, size.x, size.y);
|
FloatRect texRect = FloatRect(0, 0, size.x, size.y);
|
||||||
baseTexQuad.setTexPosRect(texRect, texRect);
|
baseTexQuad.setTexPosRect(texRect, texRect);
|
||||||
|
|
||||||
|
opacityDirty = true;
|
||||||
baseTexDirty = true;
|
baseTexDirty = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -521,6 +522,7 @@ struct WindowPrivate
|
||||||
baseVertDirty = false;
|
baseVertDirty = false;
|
||||||
updateBaseQuadArray = true;
|
updateBaseQuadArray = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (opacityDirty)
|
if (opacityDirty)
|
||||||
{
|
{
|
||||||
updateBaseAlpha();
|
updateBaseAlpha();
|
||||||
|
|
Loading…
Reference in New Issue