diff options
author | Michal Krol <[email protected]> | 2009-12-10 12:38:22 +0100 |
---|---|---|
committer | Michal Krol <[email protected]> | 2009-12-10 12:38:22 +0100 |
commit | 91e164b3d0b1d36bfdf369266ae7e1ab396f1ba2 (patch) | |
tree | d8ed4e74e470d2c9b9bf9ad3d4ad0829dc4da0ba /src/glsl/pp/sl_pp_public.h | |
parent | 068596c9a7e8d330ffdff8ad8700bd6093b5bdea (diff) |
glsl/pp: Add sl_pp_context_add_extension().
This way third parties are able to add supported extension strings.
Diffstat (limited to 'src/glsl/pp/sl_pp_public.h')
-rw-r--r-- | src/glsl/pp/sl_pp_public.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/glsl/pp/sl_pp_public.h b/src/glsl/pp/sl_pp_public.h index 8317c7e378a..20f208975e4 100644 --- a/src/glsl/pp/sl_pp_public.h +++ b/src/glsl/pp/sl_pp_public.h @@ -46,6 +46,11 @@ const char * sl_pp_context_error_message(const struct sl_pp_context *context); int +sl_pp_context_add_extension(struct sl_pp_context *context, + const char *name, + const char *name_string); + +int sl_pp_context_add_unique_str(struct sl_pp_context *context, const char *str); |