comparison src/video/SDL_blit.c @ 310:c97c1d3b3b5c

Blit bug fix from John Popplewell
author Sam Lantinga <slouken@libsdl.org>
date Wed, 20 Mar 2002 02:21:46 +0000
parents f6ffac90895c
children 4314a501d7be
comparison
equal deleted inserted replaced
309:2de77f7b7a28 310:c97c1d3b3b5c
114 /* We need to unlock the surfaces if they're locked */ 114 /* We need to unlock the surfaces if they're locked */
115 if ( dst_locked ) { 115 if ( dst_locked ) {
116 SDL_VideoDevice *video = current_video; 116 SDL_VideoDevice *video = current_video;
117 SDL_VideoDevice *this = current_video; 117 SDL_VideoDevice *this = current_video;
118 video->UnlockHWSurface(this, dst); 118 video->UnlockHWSurface(this, dst);
119 } else 119 }
120 if ( src_locked ) { 120 if ( src_locked ) {
121 SDL_VideoDevice *video = current_video; 121 SDL_VideoDevice *video = current_video;
122 SDL_VideoDevice *this = current_video; 122 SDL_VideoDevice *this = current_video;
123 video->UnlockHWSurface(this, src); 123 video->UnlockHWSurface(this, src);
124 } 124 }