Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

SDL::Video::fill_rect() fails #252

Open
KohaAloha opened this Issue · 0 comments

1 participant

@KohaAloha
Owner

calling fill_rect() with a $dest_rect value of undef, causes a no-op - rather than filling the entire surface, as the doco states

$fill_rect = SDL::Video::fill_rect( $dest, $dest_rect, $pixel );

"This function performs a fast fill of the given SDL::Rect with the given SDL::PixelFormat. If dest_rect is NULL, the whole surface will be filled with color."

http://sdl.perl.org/SDL-Video.html#fill_rect

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.