diff options
author | Brian Paul <[email protected]> | 2008-04-22 19:10:52 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-04-22 19:10:52 -0600 |
commit | 91e37b71404a83b5e4258e129a2753f7c8fd0706 (patch) | |
tree | f86f02d0824c5442d02a602c5c086e4d9c65949c /src/gallium/auxiliary | |
parent | 33f3938d2d6340b31d758c96bd35f858c6c8267d (diff) |
gallium: fix bad logic in bind_pstip_fragment_shader(): use &&, not ||
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pipe_pstipple.c | 2 |
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 61bdd29aa09..aec485a6e72 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; |