On Wed, 25 Jul 2001, Stuffed Crust wrote:
> On Tue, Jul 24, 2001 at 04:35:18PM -0700, Matt wrote:
> > This may help with the SQ3 scaling/line drawing problem:
>
> This should have been fixed in my most recent commit; now it will draw
> lines beyond the border of the SDL surface.
gfx_line.c(89) is where the first fault happens. y and finaly are
both 400. Next time, same line, y is 400 and finaly is 401.
When the input box is drawn this sequence happens twice.
> If it still is happening, uncomment the printf() above the lineColor2
> invocation in sdl_driver.c and let me know what comes out.
Here's the output, even tho the information above is probably more
helpful.
draw 41 337 598 337 00000000 640 400
draw 41 338 598 338 00000000 640 400
draw 42 337 599 337 00000000 640 400
draw 42 338 599 338 00000000 640 400
draw 41 338 41 399 00000000 640 400
draw 41 339 41 399 00000000 640 400
draw 42 338 42 399 00000000 640 400
draw 42 339 42 399 00000000 640 400
draw 598 337 598 399 00000000 640 400
draw 598 338 598 399 00000000 640 400
draw 599 337 599 399 00000000 640 400
draw 599 338 599 399 00000000 640 400
draw 50 378 590 378 00000000 640 400
draw 50 379 590 379 00000000 640 400
draw 50 380 590 380 00000000 640 400
draw 51 378 591 378 00000000 640 400
draw 51 379 591 379 00000000 640 400
draw 51 380 591 380 00000000 640 400
draw 52 378 592 378 00000000 640 400
draw 52 379 592 379 00000000 640 400
draw 52 380 592 380 00000000 640 400
draw 52 394 590 394 00000000 640 400
draw 52 395 590 395 00000000 640 400
draw 52 396 590 396 00000000 640 400
draw 53 394 591 394 00000000 640 400
draw 53 395 591 395 00000000 640 400
draw 53 396 591 396 00000000 640 400
draw 54 394 592 394 00000000 640 400
draw 54 395 592 395 00000000 640 400
draw 54 396 592 396 00000000 640 400
draw 50 380 50 394 00000000 640 400
draw 50 381 50 395 00000000 640 400
draw 50 382 50 396 00000000 640 400
draw 51 380 51 394 00000000 640 400
draw 51 381 51 395 00000000 640 400
draw 51 382 51 396 00000000 640 400
draw 52 380 52 394 00000000 640 400
draw 52 381 52 395 00000000 640 400
draw 52 382 52 396 00000000 640 400
draw 590 378 590 392 00000000 640 400
draw 590 379 590 393 00000000 640 400
draw 590 380 590 394 00000000 640 400
draw 591 378 591 392 00000000 640 400
draw 591 379 591 393 00000000 640 400
draw 591 380 591 394 00000000 640 400
draw 592 378 592 392 00000000 640 400
draw 592 379 592 393 00000000 640 400
draw 592 380 592 394 00000000 640 400