Fixing a small typo bug.

This commit is contained in:
Dario Manesku 2014-05-24 20:16:40 +01:00
parent 5cb963e9fd
commit c0ac10ad42

View file

@ -1990,7 +1990,7 @@ namespace bgfx
height = bx::uint32_max(1, height); height = bx::uint32_max(1, height);
depth = bx::uint32_max(1, depth); depth = bx::uint32_max(1, depth);
size += _width*_height*depth*bpp/8; size += width*height*depth*bpp/8;
width >>= 1; width >>= 1;
height >>= 1; height >>= 1;