src/video/SDL_rect.c
changeset 3046 47965eacde88
parent 3004 f3d7226a8dfd
child 3536 0267b8b1595c
equal deleted inserted replaced
3045:9acb9f0f7f0d 3046:47965eacde88
   128     int recty1;
   128     int recty1;
   129     int rectx2;
   129     int rectx2;
   130     int recty2;
   130     int recty2;
   131 
   131 
   132     if (!rect || !X1 || !Y1 || !X2 || !Y2) {
   132     if (!rect || !X1 || !Y1 || !X2 || !Y2) {
   133         SDL_FALSE;
   133         return SDL_FALSE;
   134     }
   134     }
   135 
   135 
   136     x1 = *X1;
   136     x1 = *X1;
   137     y1 = *Y1;
   137     y1 = *Y1;
   138     x2 = *X2;
   138     x2 = *X2;