Commit 902cf95e authored by Frediano Ziglio's avatar Frediano Ziglio

spice-widget-egl: Use sizeof instead of hand coded constant

Signed-off-by: Frediano Ziglio's avatarFrediano Ziglio <>
Acked-by: Snir Sheriber's avatarSnir Sheriber <>
parent 3ee17bcc
Pipeline #50292 passed with stage
in 5 minutes and 7 seconds
......@@ -129,7 +129,7 @@ static gboolean spice_egl_init_shaders(SpiceDisplay *display, GError **err)
glGetProgramiv(d->egl.prog, GL_LINK_STATUS, &status);
if (!status) {
glGetProgramInfoLog(d->egl.prog, 1000, &len, log);
glGetProgramInfoLog(d->egl.prog, sizeof(log), &len, log);
"error linking shaders: %s", log);
goto end;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment