diff options
Diffstat (limited to 'src/gallium/drivers/lima/lima_context.c')
-rw-r--r-- | src/gallium/drivers/lima/lima_context.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/lima/lima_context.c b/src/gallium/drivers/lima/lima_context.c index 44f627ac1da..e2d48d155a3 100644 --- a/src/gallium/drivers/lima/lima_context.c +++ b/src/gallium/drivers/lima/lima_context.c @@ -212,6 +212,9 @@ lima_context_create(struct pipe_screen *pscreen, void *priv, unsigned flags) ctx->base.stream_uploader = ctx->uploader; ctx->base.const_uploader = ctx->uploader; + ctx->damage_rect.minx = ctx->damage_rect.miny = 0xffff; + ctx->damage_rect.maxx = ctx->damage_rect.maxy = 0; + util_dynarray_init(&ctx->vs_cmd_array, ctx); util_dynarray_init(&ctx->plbu_cmd_array, ctx); |