src/video/mir/SDL_mirframebuffer.c
changeset 10094 fdfdae3f6039
parent 10089 25fda20d0173
child 10362 070fe7c1fc85
equal deleted inserted replaced
10093:7eb2075bdc0b 10094:fdfdae3f6039
   130         pixels += start;
   130         pixels += start;
   131         s_dest += start;
   131         s_dest += start;
   132 
   132 
   133         bytes_per_row =  bytes_per_pixel * w;
   133         bytes_per_row =  bytes_per_pixel * w;
   134         for (j = 0; j < h; j++) {
   134         for (j = 0; j < h; j++) {
   135             memcpy(s_dest, pixels, bytes_per_row);
   135             SDL_memcpy(s_dest, pixels, bytes_per_row);
   136             pixels += s_stride;
   136             pixels += s_stride;
   137             s_dest += d_stride;
   137             s_dest += d_stride;
   138         }
   138         }
   139     }
   139     }
   140 
   140