init the parent shit in the surface when making a copy
This commit is contained in:
parent
aca18d48b9
commit
9352747a3c
1 changed files with 2 additions and 0 deletions
|
@ -188,6 +188,8 @@ RrAppearance *RrAppearanceCopy(RrAppearance *orig)
|
||||||
|
|
||||||
spc->interlaced = spo->interlaced;
|
spc->interlaced = spo->interlaced;
|
||||||
spc->border = spo->border;
|
spc->border = spo->border;
|
||||||
|
spc->parent = NULL;
|
||||||
|
spc->parentx = spc->parenty = 0;
|
||||||
spc->RrPixel_data = NULL;
|
spc->RrPixel_data = NULL;
|
||||||
|
|
||||||
copy->textures = orig->textures;
|
copy->textures = orig->textures;
|
||||||
|
|
Loading…
Reference in a new issue