r300: i can't see why we fallback for polygon offset line/fill
authorDave Airlie <airlied@linux.ie>
Sun, 10 Jun 2007 02:25:23 +0000 (12:25 +1000)
committerDave Airlie <airlied@linux.ie>
Sun, 10 Jun 2007 02:27:22 +0000 (12:27 +1000)
src/mesa/drivers/dri/r300/r300_render.c
src/mesa/drivers/dri/r300/r300_state.c

index 1aaf43bfafc11a2c11807dc337fe27049f8cf239..83999307b5607f634f16dd706dc766f2e80ec7f3 100644 (file)
@@ -371,8 +371,6 @@ static int r300Fallback(GLcontext * ctx)
                FALLBACK_IF(ctx->Point.PointSprite);
 
        if (!r300->disable_lowimpact_fallback) {
-               FALLBACK_IF(ctx->Polygon.OffsetPoint);
-               FALLBACK_IF(ctx->Polygon.OffsetLine);
                FALLBACK_IF(ctx->Polygon.StippleFlag);
                FALLBACK_IF(ctx->Multisample.Enabled);
                FALLBACK_IF(ctx->Line.StippleFlag);
index e61632627434974f0944c67f0593a99ea6d9d4b2..e6c394610dda73a1556272f5e4f1553773332ad8 100644 (file)
@@ -1769,8 +1769,6 @@ static void r300Enable(GLcontext * ctx, GLenum cap, GLboolean state)
 
        case GL_POLYGON_OFFSET_POINT:
        case GL_POLYGON_OFFSET_LINE:
-               break;
-
        case GL_POLYGON_OFFSET_FILL:
                R300_STATECHANGE(r300, occlusion_cntl);
                if (state) {