Hi,
set_pixel() doesnt expect an SDL::Color object. It expects to get a
color value.
So if you have 24bit surface like you have for $app, then you have to
pass 0xRRGGBB values.
If you change the red/green/blumasks to something else, you have to pass
appropriate color values.
Please note that
Hi,
I'm trying to convert some of my old SDL perl programs to use SDL perl
version 2.536 on 64bit gentoo with perl-5.12.4. Unexpectedly
everything that gets drawn using comes out with an blue tinge. For
example:
#!/usr/bin/perl -w
use strict;
use SDL;
use SDL::Color;
use SDLx::App;
my $app =