I did some experimenting with blitting Surfaces. I think the main memory
leak I've been seeing is coming from the creation of a new SDLx::Rect every
time the Rect coordinates are passed as [x, y, h, w]. By comparing 5
different blits, I was able to find out that by declaring the SDLx::Rect
once a
Since this is a similar issue, I decided to continue this same email thread.
Running the Fixed FPS from pg. 42 in section 5-2, I receive the following
error:
"Illegal division by zero at C:\p42_5-2_FixedFPS.pl line 83."
The line referenced reads:
$FPS = int(($frames * 100) / $delta_time );
Thi