# HG changeset patch # User Sam Lantinga # Date 1229781345 0 # Node ID 3e7856518a34fa2c7222c2f9322deb347ab84097 # Parent 1863c8b596583337b6330819e5bf62c0c4f7982a indent diff -r 1863c8b59658 -r 3e7856518a34 src/video/SDL_renderer_sw.c --- a/src/video/SDL_renderer_sw.c Sat Dec 20 13:54:19 2008 +0000 +++ b/src/video/SDL_renderer_sw.c Sat Dec 20 13:55:45 2008 +0000 @@ -565,7 +565,8 @@ if (data->renderer->LockTexture(data->renderer, data->texture[data->current_texture], - &data->surface.clip_rect, 1, &data->surface.pixels, + &data->surface.clip_rect, 1, + &data->surface.pixels, &data->surface.pitch) < 0) { return -1; }