Pārlūkot izejas kodu

Update rtextures.c

pull/3029/head
Ray pirms 2 gadiem
vecāks
revīzija
64f2f86d32
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      src/rtextures.c

+ 1
- 1
src/rtextures.c Parādīt failu

@ -3000,7 +3000,7 @@ void ImageDrawRectangleRec(Image *dst, Rectangle rec, Color color)
if (rec.x < 0) { rec.width -= rec.x; rec.x = 0; }
if (rec.y < 0) { rec.height -= rec.y; rec.y = 0; }
if (rec.width < 0) rec.width = 0;
if (rec.heigh < 0) rec.height = 0;
if (rec.height < 0) rec.height = 0;
int sy = (int)rec.y;
int ey = sy + (int)rec.height;

Notiek ielāde…
Atcelt
Saglabāt