gallium: fix bad logic in bind_pstip_fragment_shader(): use &&, not ||
This commit is contained in:
parent
33f3938d2d
commit
91e37b7140
|
@ -469,7 +469,7 @@ pstip_create_sampler(struct pstip_stage *pstip)
|
|||
static boolean
|
||||
bind_pstip_fragment_shader(struct pstip_stage *pstip)
|
||||
{
|
||||
if (!pstip->fs->pstip_fs ||
|
||||
if (!pstip->fs->pstip_fs &&
|
||||
!generate_pstip_fs(pstip))
|
||||
return FALSE;
|
||||
|
||||
|
|
Loading…
Reference in New Issue