summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd
diff options
context:
space:
mode:
authorGravatarGravatar Vas Crabb <vas@vastheman.com>2019-11-24 13:52:11 +1100
committerGravatarGravatar Vas Crabb <vas@vastheman.com>2019-11-24 13:52:11 +1100
commite64edf6c7127fb8291a157026f3ac72e38c78d80 (patch)
tree092564456a138ad98775b989ea6073e4c75a7abd /src/osd
parent6e8748952730a23a507c415c92398205238d1367 (diff)
srcclean and indentation cleanup (nw)
Diffstat (limited to 'src/osd')
-rw-r--r--src/osd/modules/render/bgfxutil.cpp44
1 files changed, 22 insertions, 22 deletions
diff --git a/src/osd/modules/render/bgfxutil.cpp b/src/osd/modules/render/bgfxutil.cpp
index 0f097b614a6..b82b0742ebb 100644
--- a/src/osd/modules/render/bgfxutil.cpp
+++ b/src/osd/modules/render/bgfxutil.cpp
@@ -45,28 +45,28 @@ const bgfx::Memory* bgfx_util::mame_texture_data_to_argb32(uint32_t src_format,
for (int y = 0; y < height; y++)
{
- switch (src_format)
- {
- case PRIMFLAG_TEXFORMAT(TEXFORMAT_PALETTE16):
- copy_util::copyline_palette16(dst, src16, width, palette);
- src16 += rowpixels;
- break;
- case PRIMFLAG_TEXFORMAT(TEXFORMAT_YUY16):
- copy_util::copyline_yuy16_to_argb(dst, src16, width, palette, 1);
- src16 += rowpixels;
- break;
- case PRIMFLAG_TEXFORMAT(TEXFORMAT_ARGB32):
- copy_util::copyline_argb32(dst, src32, width, palette);
- src32 += rowpixels;
- break;
- case PRIMFLAG_TEXFORMAT(TEXFORMAT_RGB32):
- copy_util::copyline_rgb32(dst, src32, width, palette);
- src32 += rowpixels;
- break;
- default:
- break;
- }
- dst += width;
+ switch (src_format)
+ {
+ case PRIMFLAG_TEXFORMAT(TEXFORMAT_PALETTE16):
+ copy_util::copyline_palette16(dst, src16, width, palette);
+ src16 += rowpixels;
+ break;
+ case PRIMFLAG_TEXFORMAT(TEXFORMAT_YUY16):
+ copy_util::copyline_yuy16_to_argb(dst, src16, width, palette, 1);
+ src16 += rowpixels;
+ break;
+ case PRIMFLAG_TEXFORMAT(TEXFORMAT_ARGB32):
+ copy_util::copyline_argb32(dst, src32, width, palette);
+ src32 += rowpixels;
+ break;
+ case PRIMFLAG_TEXFORMAT(TEXFORMAT_RGB32):
+ copy_util::copyline_rgb32(dst, src32, width, palette);
+ src32 += rowpixels;
+ break;
+ default:
+ break;
+ }
+ dst += width;
}
return mem;
}