return early with no node, when trying to create textures from empty
rects
This commit is contained in:
parent
8a806a5386
commit
ce10af1c98
@ -61,6 +61,9 @@ static inline QSGNode* qskUpdateGraphicNode(
|
||||
const QskGraphic& graphic, const QskColorFilter& colorFilter,
|
||||
const QRect& rect )
|
||||
{
|
||||
if ( rect.isEmpty() )
|
||||
return nullptr;
|
||||
|
||||
auto mode = QskGraphicTextureFactory::OpenGL;
|
||||
|
||||
const QskControl* control = skinnable->owningControl();
|
||||
|
Loading…
x
Reference in New Issue
Block a user