Branimir Karadžić 10 роки тому
батько
коміт
831dfcf9dd
2 змінених файлів з 2 додано та 2 видалено
  1. 1 1
      src/bgfx_p.h
  2. 1 1
      src/renderer_d3d9.cpp

+ 1 - 1
src/bgfx_p.h

@@ -450,7 +450,7 @@ namespace bgfx
 				const uint32_t width  = (bx::uint32_min(m_width,  _width +_x)-_x)*2;
 				const uint32_t height =  bx::uint32_min(m_height, _height+_y)-_y;
 				const uint32_t dstPitch = m_width*2;
-				bx::memcpy(dst, src, width, height, _pitch, dstPitch);
+				bx::memCopy(dst, src, width, height, _pitch, dstPitch);
 			}
 		}
 

+ 1 - 1
src/renderer_d3d9.cpp

@@ -2913,7 +2913,7 @@ namespace bgfx { namespace d3d9
 										, mip.m_format
 										);
 
-								bx::memcpy(bits, temp, pitch, height, srcpitch, pitch);
+								bx::memCopy(bits, temp, pitch, height, srcpitch, pitch);
 
 								BX_FREE(g_allocator, temp);
 							}