gallium: fix bad logic in bind_pstip_fragment_shader(): use &&, not ||

This commit is contained in:
Brian Paul 2008-04-22 19:10:52 -06:00
parent 33f3938d2d
commit 91e37b7140
1 changed files with 1 additions and 1 deletions

View File

@ -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;