Bug 957884: Add return statement to default case in SurfaceFormatToDXGIFormat(), to address build warning. r=nical

This commit is contained in:
Daniel Holbert 2014-01-09 06:26:20 -08:00
parent aedfdeb947
commit 8e71085a99

View File

@ -32,6 +32,7 @@ SurfaceFormatToDXGIFormat(gfx::SurfaceFormat aFormat)
return DXGI_FORMAT_A8_UNORM;
default:
MOZ_ASSERT(false, "unsupported format");
return DXGI_FORMAT_UNKNOWN;
}
}