wined3d: fixed a NULL deref in create_arb_blt_fragment_program (Coverity).
This commit is contained in:
parent
bf1e9a2e93
commit
9494cdc56f
|
@ -3188,8 +3188,9 @@ static GLuint create_arb_blt_fragment_program(const struct wined3d_gl_info *gl_i
|
|||
fprogram = masked ? blt_fprograms_masked[tex_type] : blt_fprograms_full[tex_type];
|
||||
if (!fprogram)
|
||||
{
|
||||
FIXME("tex_type %#x not supported\n", tex_type);
|
||||
FIXME("tex_type %#x not supported, falling back to tex_2d\n", tex_type);
|
||||
tex_type = tex_2d;
|
||||
fprogram = masked ? blt_fprograms_masked[tex_type] : blt_fprograms_full[tex_type];
|
||||
}
|
||||
|
||||
GL_EXTCALL(glGenProgramsARB(1, &program_id));
|
||||
|
|
Loading…
Reference in New Issue