Преглед на файлове

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 години
родител
ревизия
41630c0653
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2
    1
      src/gallium/drivers/vc4/vc4_query.c

+ 2
- 1
src/gallium/drivers/vc4/vc4_query.c Целия файл

@@ -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

Loading…
Отказ
Запис