src/video/SDL_renderer_sw.c
changeset 2889 67f84eb26ea1
parent 2888 32e8bbba1e94
child 2891 3e7856518a34
equal deleted inserted replaced
2888:32e8bbba1e94 2889:67f84eb26ea1
   563         SDL_AddDirtyRect(&data->dirty, &rect);
   563         SDL_AddDirtyRect(&data->dirty, &rect);
   564     }
   564     }
   565 
   565 
   566     if (data->renderer->LockTexture(data->renderer,
   566     if (data->renderer->LockTexture(data->renderer,
   567                                     data->texture[data->current_texture],
   567                                     data->texture[data->current_texture],
   568                                     NULL, 1, &data->surface.pixels,
   568                                     &data->surface.clip_rect, 1, &data->surface.pixels,
   569                                     &data->surface.pitch) < 0) {
   569                                     &data->surface.pitch) < 0) {
   570         return -1;
   570         return -1;
   571     }
   571     }
   572 
   572 
   573     if (renderer->blendMode == SDL_BLENDMODE_NONE) {
   573     if (renderer->blendMode == SDL_BLENDMODE_NONE) {