Fixed VS build.

This commit is contained in:
Branimir Karadžić 2017-01-14 17:45:27 -08:00
parent b526c8175a
commit ec4f98f33a

View File

@ -2982,11 +2982,11 @@ namespace bgfx { namespace d3d9
switch (m_textureFormat) switch (m_textureFormat)
{ {
case TextureFormat::RGB5A1: case TextureFormat::RGB5A1:
imageConvert(bits, 16, packBgr5a1, mip.m_data, unpackRgb5a1, size); imageConvert(bits, 16, bx::packBgr5a1, mip.m_data, bx::unpackRgb5a1, size);
break; break;
case TextureFormat::RGBA4: case TextureFormat::RGBA4:
imageConvert(bits, 16, packBgra4, mip.m_data, unpackRgba4, size); imageConvert(bits, 16, bx::packBgra4, mip.m_data, bx::unpackRgba4, size);
break; break;
default: default:
@ -3044,11 +3044,11 @@ namespace bgfx { namespace d3d9
switch (m_textureFormat) switch (m_textureFormat)
{ {
case TextureFormat::RGB5A1: case TextureFormat::RGB5A1:
imageConvert(dst, 16, packBgr5a1, src, unpackRgb5a1, rectpitch); imageConvert(dst, 16, bx::packBgr5a1, src, bx::unpackRgb5a1, rectpitch);
break; break;
case TextureFormat::RGBA4: case TextureFormat::RGBA4:
imageConvert(dst, 16, packBgra4, src, unpackRgba4, rectpitch); imageConvert(dst, 16, bx::packBgra4, src, bx::unpackRgba4, rectpitch);
break; break;
default: default: