[BUG] draw_line crash (still)

Started by Eckolin, September 30, 2010, 12:48:49 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Eckolin

The following coordinates cause a crash on my system. (R165)


import "mod_map"
import "mod_key"
import "mod_proc"
import "mod_draw"
private
    g;
begin
    g=new_map(640,480,16);
    drawing_map(0,g);
    draw_line(603,321,204,-16);
    loop
        if (key(_esc)) exit("",0);end
        frame;
    end
end

panreyes


Eckolin

Adding set_mode(320,240,16) does not make a difference.

FreeYourMind

debug with say(g) to see the values.

SplinterGU

guys, don't worry for fix this... this is a draw_line bug...

maybe in the svn version this is fixed.

I'll test it now.
Download Lastest BennuGD Release: http://www.bennugd.org/node/2

SplinterGU

this still... I'll check... thanks for report.
Download Lastest BennuGD Release: http://www.bennugd.org/node/2

SplinterGU

fixed!
Thanks for the report...

I'll update svn now.
Download Lastest BennuGD Release: http://www.bennugd.org/node/2