summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-04-22 19:10:52 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-04-22 19:10:52 -0600
commit91e37b71404a83b5e4258e129a2753f7c8fd0706 (patch)
treef86f02d0824c5442d02a602c5c086e4d9c65949c /src/gallium
parent33f3938d2d6340b31d758c96bd35f858c6c8267d (diff)
gallium: fix bad logic in bind_pstip_fragment_shader(): use &&, not ||
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/draw/draw_pipe_pstipple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pipe_pstipple.c b/src/gallium/auxiliary/draw/draw_pipe_pstipple.c
index 61bdd29aa0..aec485a6e7 100644
--- a/src/gallium/auxiliary/draw/draw_pipe_pstipple.c
+++ b/src/gallium/auxiliary/draw/draw_pipe_pstipple.c
@@ -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;