mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 04:10:10 +01:00
asahi: fixes prevailing '-Werror=maybe-uninitialized' issue
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26206>
This commit is contained in:
parent
cd8ccba814
commit
8458cd49e0
1 changed files with 1 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ agx_draw_vbo_from_xfb(struct pipe_context *pctx,
|
|||
{
|
||||
perf_debug_ctx(agx_context(pctx), "draw auto");
|
||||
|
||||
unsigned count;
|
||||
unsigned count = 0;
|
||||
pipe_buffer_read(pctx,
|
||||
agx_so_target(indirect->count_from_stream_output)->offset,
|
||||
0, 4, &count);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue