Signed-off-by: Francisco Jerez <[email protected]>
---
 src/nv_driver.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/nv_driver.c b/src/nv_driver.c
index a31ce5d..4255c19 100644
--- a/src/nv_driver.c
+++ b/src/nv_driver.c
@@ -1419,6 +1419,8 @@ NVLoadPalette(ScrnInfoPtr pScrn, int numColors, int 
*indices,
                                        lut_b[index * 8 + j] = 
colors[index].blue << 8;
                                }
                        }
+                       break;
+
                case 16:
                        for (i = 0; i < numColors; i++) {
                                index = indices[i];
@@ -1434,6 +1436,8 @@ NVLoadPalette(ScrnInfoPtr pScrn, int numColors, int 
*indices,
                                        lut_g[index * 4 + j] = 
colors[index].green << 8;
                                }
                        }
+                       break;
+
                default:
                        for (i = 0; i < numColors; i++) {
                                index = indices[i];
-- 
1.6.4.4

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

Reply via email to