wined3d: Just fail if the texture type is not supported in create_glsl_blt_shader() (LLVM/Clang).
Changing the texture type has no effect at this point, and it wouldn't work properly anyway.
This commit is contained in:
parent
4125fa62b9
commit
4c30b82c83
|
@ -4563,7 +4563,7 @@ static GLhandleARB create_glsl_blt_shader(const struct wined3d_gl_info *gl_info,
|
||||||
if (!blt_pshader)
|
if (!blt_pshader)
|
||||||
{
|
{
|
||||||
FIXME("tex_type %#x not supported\n", tex_type);
|
FIXME("tex_type %#x not supported\n", tex_type);
|
||||||
tex_type = tex_2d;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
vshader_id = GL_EXTCALL(glCreateShaderObjectARB(GL_VERTEX_SHADER_ARB));
|
vshader_id = GL_EXTCALL(glCreateShaderObjectARB(GL_VERTEX_SHADER_ARB));
|
||||||
|
|
Loading…
Reference in New Issue