From e9aa65d2b751f81fecd365fd6a550562417a3ec2 Mon Sep 17 00:00:00 2001 From: Michal Krol Date: Sat, 19 Dec 2009 09:55:27 +0100 Subject: glsl/pp: Report correct error line for purify and tokeniser errors. --- src/glsl/pp/sl_pp_public.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/glsl/pp/sl_pp_public.h') diff --git a/src/glsl/pp/sl_pp_public.h b/src/glsl/pp/sl_pp_public.h index 076903649c..9d0a08ca45 100644 --- a/src/glsl/pp/sl_pp_public.h +++ b/src/glsl/pp/sl_pp_public.h @@ -45,6 +45,11 @@ sl_pp_context_destroy(struct sl_pp_context *context); const char * sl_pp_context_error_message(const struct sl_pp_context *context); +void +sl_pp_context_error_position(const struct sl_pp_context *context, + unsigned int *file, + unsigned int *line); + int sl_pp_context_add_extension(struct sl_pp_context *context, const char *name, -- cgit v1.2.3