ilo: initialize dirty flags in ilo_init_states()
Now that we have a function to initialize states, initialize dirty flags there too.
This commit is contained in:
@@ -139,8 +139,6 @@ ilo_context_create(struct pipe_screen *screen, void *priv)
|
||||
util_slab_create(&ilo->transfer_mempool,
|
||||
sizeof(struct ilo_transfer), 64, UTIL_SLAB_SINGLETHREADED);
|
||||
|
||||
ilo->dirty = ILO_DIRTY_ALL;
|
||||
|
||||
ilo->base.screen = screen;
|
||||
ilo->base.priv = priv;
|
||||
|
||||
|
@@ -1110,6 +1110,8 @@ void
|
||||
ilo_init_states(struct ilo_context *ilo)
|
||||
{
|
||||
ilo_gpe_set_scissor_null(ilo->dev, &ilo->scissor);
|
||||
|
||||
ilo->dirty = ILO_DIRTY_ALL;
|
||||
}
|
||||
|
||||
void
|
||||
|
Reference in New Issue
Block a user