wined3d: Exit early in shader_glsl_init_transform_feedback() if stream output is disabled.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
1ec91f592e
commit
d58e44bfeb
|
@ -840,6 +840,9 @@ static void shader_glsl_init_transform_feedback(const struct wined3d_context *co
|
||||||
const char **varyings;
|
const char **varyings;
|
||||||
char *strings;
|
char *strings;
|
||||||
|
|
||||||
|
if (!so_desc->element_count)
|
||||||
|
return;
|
||||||
|
|
||||||
if (!gl_info->supported[ARB_TRANSFORM_FEEDBACK3])
|
if (!gl_info->supported[ARB_TRANSFORM_FEEDBACK3])
|
||||||
{
|
{
|
||||||
FIXME("ARB_transform_feedback3 not supported by OpenGL implementation.\n");
|
FIXME("ARB_transform_feedback3 not supported by OpenGL implementation.\n");
|
||||||
|
|
Loading…
Reference in New Issue