OSDN Git Service

llvmpipe: Remove useless draw_install_pstipple_stage call.
authorStéphane Marchesin <marcheu@chromium.org>
Thu, 29 Dec 2011 01:34:56 +0000 (17:34 -0800)
committerStéphane Marchesin <marcheu@chromium.org>
Thu, 29 Dec 2011 20:28:44 +0000 (12:28 -0800)
It is #ifdef'd out, and is already called unconditionnaly a couple lines above.

Reviewed-By: Jose Fonseca <jfonseca@vmware.com>
src/gallium/drivers/llvmpipe/lp_context.c

index b6ac068..c19272f 100644 (file)
@@ -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,