OSDN Git Service

gallium: add bool return to pipe_context::end_query
[android-x86/external-mesa.git] / src / gallium / drivers / nouveau / nv50 / nv50_query.c
index fa70fb6..9a1397a 100644 (file)
@@ -54,11 +54,12 @@ nv50_begin_query(struct pipe_context *pipe, struct pipe_query *pq)
    return q->funcs->begin_query(nv50_context(pipe), q);
 }
 
-static void
+static bool
 nv50_end_query(struct pipe_context *pipe, struct pipe_query *pq)
 {
    struct nv50_query *q = nv50_query(pq);
    q->funcs->end_query(nv50_context(pipe), q);
+   return true;
 }
 
 static boolean