st-theme-node: invalidate cached size when initializing paint state
https://bugzilla.gnome.org/show_bug.cgi?id=703997
This commit is contained in:
parent
1c04ae3216
commit
fde01f0b71
@ -2578,6 +2578,8 @@ st_theme_node_paint_state_init (StThemeNodePaintState *state)
|
|||||||
{
|
{
|
||||||
int corner_id;
|
int corner_id;
|
||||||
|
|
||||||
|
state->alloc_width = 0;
|
||||||
|
state->alloc_height = 0;
|
||||||
state->node = NULL;
|
state->node = NULL;
|
||||||
state->box_shadow_material = COGL_INVALID_HANDLE;
|
state->box_shadow_material = COGL_INVALID_HANDLE;
|
||||||
state->prerendered_texture = COGL_INVALID_HANDLE;
|
state->prerendered_texture = COGL_INVALID_HANDLE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user