st/xorg: Reorder cases in switch statement.
authorVinson Lee <vlee@vmware.com>
Sun, 22 Nov 2009 05:55:52 +0000 (00:55 -0500)
committerVinson Lee <vlee@vmware.com>
Sun, 22 Nov 2009 05:55:52 +0000 (00:55 -0500)
Silences missing break statement warning.

src/gallium/state_trackers/xorg/xorg_composite.c

index eed7a7d63a51126c15aebb5cf9ca390f7f012bbe..4dbb490ca5144bdf69a1200faed725022555d5af 100644 (file)
@@ -151,9 +151,11 @@ render_filter_to_gallium(int xrender_filter, int *out_filter)
    case PictFilterBest:
       *out_filter = PIPE_TEX_FILTER_LINEAR;
       break;
+   case PictFilterConvolution:
+      *out_filter = PIPE_TEX_FILTER_NEAREST;
+      return FALSE;
    default:
       debug_printf("Unknown xrender filter\n");
-   case PictFilterConvolution:
       *out_filter = PIPE_TEX_FILTER_NEAREST;
       return FALSE;
    }