Bläddra i källkod

vc4: make vc4_begin_query() return a boolean

I forgot to make the change in 96f164f6f0.
This fixes a warning with GCC and probably an error with Clang.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
tags/11.0-branchpoint
Samuel Pitoiset 10 år sedan
förälder
incheckning
41630c0653
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2
    1
      src/gallium/drivers/vc4/vc4_query.c

+ 2
- 1
src/gallium/drivers/vc4/vc4_query.c Visa fil

@@ -50,9 +50,10 @@ vc4_destroy_query(struct pipe_context *ctx, struct pipe_query *query)
free(query);
}

static void
static boolean
vc4_begin_query(struct pipe_context *ctx, struct pipe_query *query)
{
return true;
}

static void

Laddar…
Avbryt
Spara