summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/draw/draw_clip.c
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2008-01-29 16:41:10 +0100
committerJosé Fonseca <[email protected]>2008-01-30 16:00:00 +0900
commit17ef840af40c9228ee0f4f7453bc00e318d9e6c4 (patch)
treefcd6dc284f7049d2f8e3c8d2e4891cbd06265a97 /src/mesa/pipe/draw/draw_clip.c
parent7f2713a29ff46a608de0feac2f56f034dbc738cb (diff)
gallium: Fix build on WinXP.
Diffstat (limited to 'src/mesa/pipe/draw/draw_clip.c')
-rw-r--r--src/mesa/pipe/draw/draw_clip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/draw/draw_clip.c b/src/mesa/pipe/draw/draw_clip.c
index da20028904a..61130c5600a 100644
--- a/src/mesa/pipe/draw/draw_clip.c
+++ b/src/mesa/pipe/draw/draw_clip.c
@@ -406,7 +406,7 @@ clip_init_state( struct draw_stage *stage )
{
struct clipper *clipper = clipper_stage( stage );
- clipper->flat = stage->draw->rasterizer->flatshade;
+ clipper->flat = stage->draw->rasterizer->flatshade ? TRUE : FALSE;
if (clipper->flat) {
const struct pipe_shader_state *vs = stage->draw->vertex_shader->state;