gallium: set rasterizer.gl_rasterization_rules = 1 in a few more places
authorBrian <brian.paul@tungstengraphics.com>
Thu, 3 Apr 2008 19:16:37 +0000 (13:16 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Thu, 3 Apr 2008 19:16:37 +0000 (13:16 -0600)
src/mesa/state_tracker/st_cb_bitmap.c
src/mesa/state_tracker/st_cb_clear.c

index 975a55d6dc00ee913adb4c94acd2b07c162f6c00..0872f2bd28a73cc6befde94e8b1f3828a3480054 100644 (file)
@@ -754,6 +754,7 @@ st_init_bitmap(struct st_context *st)
 
    /* init baseline rasterizer state once */
    memset(&st->bitmap.rasterizer, 0, sizeof(st->bitmap.rasterizer));
+   st->bitmap.rasterizer.gl_rasterization_rules = 1;
    st->bitmap.rasterizer.bypass_vs = 1;
 
    init_bitmap_cache(st);
index b5e737e0d1ff4f0a64ad03b9721264800f78f52a..fa9f986f116d0c0cbf0aa6c3c511f6415daa9d89 100644 (file)
@@ -62,6 +62,7 @@ st_init_clear(struct st_context *st)
 
    /* rasterizer state: bypass clipping */
    memset(&st->clear.raster, 0, sizeof(st->clear.raster));
+   st->clear.raster.gl_rasterization_rules = 1;
    st->clear.raster.bypass_clipping = 1;
 
    /* viewport state: identity since we're drawing in window coords */