Skip to content

Commit f8f78a8

Browse files
committed
fix
1 parent f91a080 commit f8f78a8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src_c/surface.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -2176,13 +2176,13 @@ _surf_fblits_item_check_and_blit(PyObject *src_surf, SDL_Surface *src,
21762176
}
21772177

21782178
int
2179-
_surf_fblits_cached_item_check_and_blit(pgSurfaceObject *self,
2179+
_surf_fblits_cached_item_check_and_blit(PyObject *src_surf,
2180+
pgSurfaceObject *self,
21802181
SDL_Surface *src, SDL_Surface *dst,
21812182
PyObject *pos_sequence,
21822183
int blend_flags,
21832184
BlitSequence *destinations)
21842185
{
2185-
PyObject *src_surf;
21862186
SDL_Surface *subsurface;
21872187
int suboffsetx = 0, suboffsety = 0;
21882188
SDL_Rect orig_clip, sub_clip;
@@ -2378,7 +2378,7 @@ _surf_fblits_blit(pgSurfaceObject *self, PyObject *item, int blend_flags,
23782378
}
23792379

23802380
*error = _surf_fblits_cached_item_check_and_blit(
2381-
self, src, dst, pos_or_seq, blend_flags, destinations);
2381+
src_surf, self, src, dst, pos_or_seq, blend_flags, destinations);
23822382
}
23832383

23842384
static PyObject *

0 commit comments

Comments
 (0)