winex11: Add a few 'fall through' comments.

This commit is contained in:
Huw Davies 2012-11-27 10:11:03 +00:00 committed by Alexandre Julliard
parent e6f1930116
commit 2232fef56c
2 changed files with 3 additions and 0 deletions

View File

@ -146,6 +146,7 @@ int X11DRV_PALETTE_Init(void)
{
case DirectColor:
X11DRV_PALETTE_PaletteFlags |= X11DRV_PALETTE_VIRTUAL;
/* fall through */
case GrayScale:
case PseudoColor:
if (private_color_map)
@ -175,6 +176,7 @@ int X11DRV_PALETTE_Init(void)
case TrueColor:
X11DRV_PALETTE_PaletteFlags |= X11DRV_PALETTE_VIRTUAL;
/* fall through */
case StaticColor:
X11DRV_PALETTE_PaletteFlags |= X11DRV_PALETTE_FIXED;
X11DRV_PALETTE_ComputeColorShifts(&X11DRV_PALETTE_default_shifts, default_visual.red_mask, default_visual.green_mask, default_visual.blue_mask);

View File

@ -1112,6 +1112,7 @@ static void UploadGlyph(struct xrender_physdev *physDev, int glyph)
default:
ERR("aa = %d - not implemented\n", format);
/* fall through */
case AA_None:
wxr_format = WXR_FORMAT_MONO;
break;