[Mesa-dev] [PATCH 10/75] st/nine: Add missing break

Axel Davy axel.davy at ens.fr
Wed Oct 5 20:08:43 UTC 2016


From: Patrick Rudolph <siro at das-labor.org>

Add missing break instruction.

Signed-off-by: Patrick Rudolph <siro at das-labor.org>
Reviewed-by: Axel Davy <axel.davy at ens.fr>
---
 src/gallium/state_trackers/nine/nine_pipe.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/state_trackers/nine/nine_pipe.h b/src/gallium/state_trackers/nine/nine_pipe.h
index 93e3225..3472193 100644
--- a/src/gallium/state_trackers/nine/nine_pipe.h
+++ b/src/gallium/state_trackers/nine/nine_pipe.h
@@ -330,6 +330,7 @@ d3d9_to_pipe_format_checked(struct pipe_screen *screen,
         case D3DFMT_D24X8:
             if (format_check_internal(PIPE_FORMAT_Z24X8_UNORM))
                 return PIPE_FORMAT_Z24X8_UNORM;
+            break;
         /* Support for X8L8V8U8 bumpenvmap format with lighting bits.
          * X8L8V8U8 is commonly supported among dx9 cards.
          * To avoid precision loss, we use PIPE_FORMAT_R32G32B32X32_FLOAT,
-- 
2.10.0



More information about the mesa-dev mailing list