comparison src/video/SDL_renderer_sw.c @ 2891:3e7856518a34

indent
author Sam Lantinga <slouken@libsdl.org>
date Sat, 20 Dec 2008 13:55:45 +0000
parents 67f84eb26ea1
children 133601e3b255
comparison
equal deleted inserted replaced
2890:1863c8b59658 2891:3e7856518a34
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 &data->surface.clip_rect, 1, &data->surface.pixels, 568 &data->surface.clip_rect, 1,
569 &data->surface.pixels,
569 &data->surface.pitch) < 0) { 570 &data->surface.pitch) < 0) {
570 return -1; 571 return -1;
571 } 572 }
572 573
573 if (renderer->blendMode == SDL_BLENDMODE_NONE) { 574 if (renderer->blendMode == SDL_BLENDMODE_NONE) {