mirror of https://github.com/bkaradzic/bgfx
Fixed VS build.
This commit is contained in:
parent
6e680baa15
commit
30d706a562
|
@ -1177,7 +1177,7 @@ bool TileGenerator::generate(const bx::FilePath& _filename)
|
|||
return false;
|
||||
}
|
||||
|
||||
uint8_t* rawImage = (uint8_t*)BX_ALLOC(VirtualTexture::getAllocator(), size);
|
||||
uint8_t* rawImage = (uint8_t*)BX_ALLOC(VirtualTexture::getAllocator(), size_t(size) );
|
||||
|
||||
bx::read(&fileReader, rawImage, int32_t(size), &err);
|
||||
bx::close(&fileReader);
|
||||
|
|
Loading…
Reference in New Issue