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);
|
||||
baseTexQuad.setTexPosRect(texRect, texRect);
|
||||
|
||||
opacityDirty = true;
|
||||
baseTexDirty = true;
|
||||
}
|
||||
|
||||
|
@ -521,6 +522,7 @@ struct WindowPrivate
|
|||
baseVertDirty = false;
|
||||
updateBaseQuadArray = true;
|
||||
}
|
||||
|
||||
if (opacityDirty)
|
||||
{
|
||||
updateBaseAlpha();
|
||||
|
|
Loading…
Reference in New Issue