i965: Fix segfault with ARB_oq CheckQuery when results are already fetched.
[mesa.git] / src / mesa / drivers / dri / i965 / brw_gs_emit.c
index 980eac7646d26f6e0fc83749487edce9acad78a6..a9b2aa2eacef0d8660104cde36710cd0cee754c2 100644 (file)
@@ -101,7 +101,7 @@ static void brw_gs_emit_vue(struct brw_gs_compile *c,
                 BRW_URB_SWIZZLE_NONE);
 }
 
-void brw_gs_ff_sync(struct brw_gs_compile *c, int num_prim)
+static void brw_gs_ff_sync(struct brw_gs_compile *c, int num_prim)
 {
        struct brw_compile *p = &c->func;
        brw_MOV(p, get_element_ud(c->reg.R0, 1), brw_imm_ud(num_prim));