diff options
Diffstat (limited to 'src/rtextures.c')
| -rw-r--r-- | src/rtextures.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtextures.c b/src/rtextures.c index 0daf6a71..0c186394 100644 --- a/src/rtextures.c +++ b/src/rtextures.c @@ -2294,7 +2294,7 @@ Rectangle GetImageAlphaBorder(Image image, float threshold) Color GetImageColor(Image image, int x, int y) { Color color = { 0 }; - + if ((x >=0) && (x < image.width) && (y >= 0) && (y < image.height)) { switch (image.format) |
