vrend: emit alpha_ref value as float

Closes #186

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
macos/master
Gert Wollny 4 years ago committed by Gert Wollny
parent b4d601b1c5
commit ba6d1e387b
  1. 2
      src/vrend_renderer.c

@ -4307,7 +4307,7 @@ static void vrend_draw_bind_objects(struct vrend_context *ctx, bool new_program)
}
if (vrend_state.use_core_profile && ctx->sub->prog->fs_alpha_ref_val_loc != -1) {
glUniform1i(ctx->sub->prog->fs_alpha_ref_val_loc, ctx->sub->dsa_state.alpha.ref_value);
glUniform1f(ctx->sub->prog->fs_alpha_ref_val_loc, ctx->sub->dsa_state.alpha.ref_value);
}
}

Loading…
Cancel
Save