diff options
author | Michal Krol <[email protected]> | 2009-09-17 11:51:35 +0200 |
---|---|---|
committer | Michal Krol <[email protected]> | 2009-09-17 11:51:35 +0200 |
commit | 0ddf41d34d511b339e0bb5a59673765f1bf0b3a5 (patch) | |
tree | e270a5e20a00f07af4828d8aa9264c6824146d37 /src/glsl/pp/sl_pp_context.c | |
parent | 69bdd47dba1f7331a632316e4f9cc9942fb93ca4 (diff) |
glsl/pp: Add remaining error messages.
Diffstat (limited to 'src/glsl/pp/sl_pp_context.c')
-rw-r--r-- | src/glsl/pp/sl_pp_context.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/pp/sl_pp_context.c b/src/glsl/pp/sl_pp_context.c index 88a002c1c73..b196d8102a0 100644 --- a/src/glsl/pp/sl_pp_context.c +++ b/src/glsl/pp/sl_pp_context.c @@ -85,6 +85,7 @@ sl_pp_context_add_unique_str(struct sl_pp_context *context, } if (!context->cstr_pool) { + strcpy(context->error_msg, "out of memory"); return -1; } |