Re: Something funny with graphics...

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Mon, 10 May 1999 18:54:49 -0700, Mike Hurley <mikehurley2 at YAHOO.COM>
wrote:

>I tried running one of my graphics-library demos in what I call mode 2,
>640x480x65k.  Problem...the 'bytes_per_line' variable reads 1280, which
>is 2*640.  That's bad...it makes the stuff smushed on the x-axis.  Is
>there any way to avoid that?

Since you're using a 65K mode, it probably uses 2 bytes per pixel,
that's why your bytes_per_line is double what you expected it to be.

-Mark.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu