(Temp) UI only renders to backbuffer
This commit is contained in:
@ -37,6 +37,8 @@ void UIComponent::updateAlignment() {
|
||||
auto dimensional = this->getParentDimensional();
|
||||
auto translate = this->transform->getLocalPosition();
|
||||
|
||||
assertNotNull(dimensional);
|
||||
|
||||
float_t parentWidth, parentHeight;
|
||||
parentWidth = dimensional->getWidth();
|
||||
parentHeight = dimensional->getHeight();
|
||||
|
Reference in New Issue
Block a user