Browse Source

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 years ago
parent
commit
41630c0653
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/gallium/drivers/vc4/vc4_query.c

+ 2
- 1
src/gallium/drivers/vc4/vc4_query.c View File

free(query); free(query);
} }


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


static void static void

Loading…
Cancel
Save