summaryrefslogtreecommitdiff
path: root/gst-libs/gst/gl/gstglslstage.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs/gst/gl/gstglslstage.c')
-rw-r--r--gst-libs/gst/gl/gstglslstage.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst-libs/gst/gl/gstglslstage.c b/gst-libs/gst/gl/gstglslstage.c
index bd0405f38..1eb99ceaa 100644
--- a/gst-libs/gst/gl/gstglslstage.c
+++ b/gst-libs/gst/gl/gstglslstage.c
@@ -436,6 +436,7 @@ _compile_shader (GstGLContext * context, struct compile *data)
if (!_ensure_shader (data->stage)) {
g_set_error (data->error, GST_GLSL_ERROR, GST_GLSL_ERROR_COMPILE,
"Failed to create shader object");
+ data->result = FALSE;
return;
}