[Mesa-dev] [PATCH] llvmpipe: Remove useless draw_install_pstipple_stage call.

Stéphane Marchesin marcheu at chromium.org
Wed Dec 28 17:37:13 PST 2011


It is #ifdef'd out, and is already called unconditionnaly a couple lines above.
---
 src/gallium/drivers/llvmpipe/lp_context.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/src/gallium/drivers/llvmpipe/lp_context.c b/src/gallium/drivers/llvmpipe/lp_context.c
index b6ac068..c19272f 100644
--- a/src/gallium/drivers/llvmpipe/lp_context.c
+++ b/src/gallium/drivers/llvmpipe/lp_context.c
@@ -229,11 +229,6 @@ llvmpipe_create_context( struct pipe_screen *screen, void *priv )
    draw_wide_point_threshold(llvmpipe->draw, 10000.0);
    draw_wide_line_threshold(llvmpipe->draw, 10000.0);
 
-#if USE_DRAW_STAGE_PSTIPPLE
-   /* Do polygon stipple w/ texture map + frag prog? */
-   draw_install_pstipple_stage(llvmpipe->draw, &llvmpipe->pipe);
-#endif
-
    lp_reset_counters();
 
    gallivm_register_garbage_collector_callback(garbage_collect_callback,
-- 
1.7.5.3.367.ga9930



More information about the mesa-dev mailing list