Re: sdl-config file for Alien::SDL

2012-07-10 Thread agraham

On 07/10/2012 03:24 PM, Kartik Thakore wrote:

It will be sdl-config -p

Kartik Thakore

On 2012-07-10, at 4:56 AM, Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯da...@cpan.org  wrote:


sdl-config is already part of the package libSDL-devel. Name it
alien-sdl-config or something.


Guys,

Does this means Alien::SDL package will no longer be required when 
building perl-SDL?


Albert


SDL::Video::fill_rect and NULL rect

2012-05-12 Thread agraham

Hi guys,

A bug, I think,

SDL::Video::fill_rect( $surface, $rect, $color) works, but if $rect = 
undef, it does not work.


fill_rect as documented here: 
http://sdl.perl.org/SDL-Video.html#blit_surface indicates it should. it 
states 'If dest_rect is NULL, the whole surface will be filled with color.'


I think I read the same on the libsdl site, too, so it should work.

So the bug must be that undef is not being interpreted as NULL to this 
function somewhere in the XS code.. way beyond me :(


btw: if $rect=0 it does not work either.

ps. I've posted this on IRC, but sending it here in case it's missed.