فهرست منبع

Fixing a small typo bug.

Dario Manesku 11 سال پیش
والد
کامیت
c0ac10ad42
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/bgfx.cpp

+ 1 - 1
src/bgfx.cpp

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