diff --git a/src/vrend_renderer.c b/src/vrend_renderer.c index ebeb9d1..384925c 100644 --- a/src/vrend_renderer.c +++ b/src/vrend_renderer.c @@ -2929,9 +2929,6 @@ int vrend_create_shader(struct vrend_context *ctx, bool finished = false; int ret; - if (pkt_length == 0 || shd_text[pkt_length - 1] != '\0') - return EINVAL; - if (type > PIPE_SHADER_COMPUTE) return EINVAL;