mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 05:58:05 +02:00
gallium/util: initialize pipe_framebuffer_state to zeros
To silence a valgrind uninitialized memory warning. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94955 Cc: "11.1 11.2" <mesa-stable@lists.freedesktop.org> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com>
This commit is contained in:
parent
1e990978ee
commit
1db8313168
1 changed files with 1 additions and 1 deletions
|
|
@ -1525,7 +1525,7 @@ void util_blitter_blit_generic(struct blitter_context *blitter,
|
|||
{
|
||||
struct blitter_context_priv *ctx = (struct blitter_context_priv*)blitter;
|
||||
struct pipe_context *pipe = ctx->base.pipe;
|
||||
struct pipe_framebuffer_state fb_state;
|
||||
struct pipe_framebuffer_state fb_state = {0};
|
||||
enum pipe_texture_target src_target = src->texture->target;
|
||||
unsigned src_samples = src->texture->nr_samples;
|
||||
unsigned dst_samples = dst->texture->nr_samples;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue