aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/pixelformat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/pixelformat.h b/graphics/pixelformat.h
index af964b0ee1..f3e7f95a6b 100644
--- a/graphics/pixelformat.h
+++ b/graphics/pixelformat.h
@@ -274,6 +274,8 @@ struct PixelFormat {
return ColorComponent<7>::expand(color);
case 8:
return ColorComponent<8>::expand(color);
+ default:
+ break;
}
// Unsupported