Reviewed some TODO comments

This commit is contained in:
Ray
2021-09-23 00:18:47 +02:00
parent dcd289d931
commit 00a763ea44
7 changed files with 5 additions and 10 deletions

View File

@@ -871,8 +871,6 @@ Image ImageFromImage(Image image, Rectangle rec)
int bytesPerPixel = GetPixelDataSize(1, 1, image.format);
// TODO: Check rec is valid?
result.width = (int)rec.width;
result.height = (int)rec.height;
result.data = RL_CALLOC((int)(rec.width*rec.height)*bytesPerPixel, 1);