Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

SDLx::Surface::blit modifies $dest_rect #199

Closed
jtpalmer opened this Issue · 2 comments

2 participants

@jtpalmer
Owner

When the destination rectangle is clipped the result is stored in $dest_rect. This is documented in SDL::Video::blit_surface, but not SDLx::Surface::blit (both use SDL_BlitSurface). So, this should either be documented, or a copy of $dest_rect should be used to prevent modifications.

@jtpalmer jtpalmer was assigned
@kthakore
Owner

We actually had discussed this before. We decided to document it until we made an option in blit to not change dest_rect.

@jtpalmer
Owner

Documented in 905138e

@jtpalmer jtpalmer closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.