This commit is contained in:
Branimir Karadžić 2017-07-14 00:15:54 -07:00
parent 24e796fa5b
commit 535ad9c9b6

View File

@ -756,7 +756,7 @@ namespace bgfx { namespace hlsl
}
{
uint32_t shaderSize = code->GetBufferSize();
uint32_t shaderSize = uint32_t(code->GetBufferSize() );
bx::write(_writer, shaderSize);
bx::write(_writer, code->GetBufferPointer(), shaderSize);
uint8_t nul = 0;