diff options
Diffstat (limited to 'src/rtextures.c')
| -rw-r--r-- | src/rtextures.c | 2 |
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); |
