Browse Source

Fixed typo.

David Piuva 3 years ago
parent
commit
9aaab2a122
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/DFPSR/image/stbImage/stbImageWrapper.cpp

+ 1 - 1
Source/DFPSR/image/stbImage/stbImageWrapper.cpp

@@ -12,7 +12,7 @@ namespace dsr {
 OrderedImageRgbaU8 image_stb_decode_RgbaU8(const SafePointer<uint8_t> data, int size, bool mustParse) {
 	#ifdef SAFE_POINTER_CHECKS
 		// If the safe pointer has debug information, use it to assert that size is within bound.
-		target.assertInside("image_stb_decode_RgbaU8 (data)", data.getUnsafe(), (size_t)size);
+		data.assertInside("image_stb_decode_RgbaU8 (data)", data.getUnsafe(), (size_t)size);
 	#endif
 	int width, height, bpp;
 	uint8_t *rawPixelData = stbi_load_from_memory(data.getUnsafe(), size, &width, &height, &bpp, 4);