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_pragma.c | |
parent | 69bdd47dba1f7331a632316e4f9cc9942fb93ca4 (diff) |
glsl/pp: Add remaining error messages.
Diffstat (limited to 'src/glsl/pp/sl_pp_pragma.c')
-rw-r--r-- | src/glsl/pp/sl_pp_pragma.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/pp/sl_pp_pragma.c b/src/glsl/pp/sl_pp_pragma.c index 059bc6f2886..1cd9fd82348 100644 --- a/src/glsl/pp/sl_pp_pragma.c +++ b/src/glsl/pp/sl_pp_pragma.c @@ -99,6 +99,7 @@ sl_pp_process_pragma(struct sl_pp_context *context, /* Ignore the tokens that follow. */ if (sl_pp_process_out(state, &out)) { + strcpy(context->error_msg, "out of memory"); return -1; } |