summaryrefslogtreecommitdiffstats
path: root/src/glsl/pp/sl_pp_context.c
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2009-09-17 11:51:35 +0200
committerMichal Krol <[email protected]>2009-09-17 11:51:35 +0200
commit0ddf41d34d511b339e0bb5a59673765f1bf0b3a5 (patch)
treee270a5e20a00f07af4828d8aa9264c6824146d37 /src/glsl/pp/sl_pp_context.c
parent69bdd47dba1f7331a632316e4f9cc9942fb93ca4 (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.c1
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;
}