summaryrefslogtreecommitdiffhomepage
path: root/src/rtextures.c
diff options
context:
space:
mode:
authorRay <[email protected]>2021-09-23 00:18:47 +0200
committerRay <[email protected]>2021-09-23 00:18:47 +0200
commit00a763ea4485bfa00c3b65c500a466c77e2cc170 (patch)
tree365cced2a243483e835df59922ae27652cbe4612 /src/rtextures.c
parentdcd289d931d3c9d836c23068e1420930b566db6a (diff)
downloadraylib-00a763ea4485bfa00c3b65c500a466c77e2cc170.tar.gz
raylib-00a763ea4485bfa00c3b65c500a466c77e2cc170.zip
Reviewed some TODO comments
Diffstat (limited to 'src/rtextures.c')
-rw-r--r--src/rtextures.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/rtextures.c b/src/rtextures.c
index 81efec2d..a55ca43f 100644
--- a/src/rtextures.c
+++ b/src/rtextures.c
@@ -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);