[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] GEMlib PL37 and vs_clip



Hi!

On Mon, Jul 26, 1999 at 07:12:20PM +0000, Vincent Barrilliot wrote:
> I don't remember if it has been already fixed but in GEMlib PL37 there
> was a little 'bug' with vs_clip.
> When you swith the clipping off, you must give a valid array anyway !

Of course, this has never been documented differently. AFAIR, it's just
a convenience added by some libraries, e.g. Lattice's. If I were you,
I'd never use NULL for the array, as this produces unportable code. I
don't even think it's a big deal to supply the array, as vs_clip()
usually appears in pairs within the same function ...

> I corrected it for me but I don't know if it still suits the specifications
> of the VDI.

The function itself does suit the VDI's specification, but not calling
it with a NULL pointer ...


Ciao

Thomas


-- 
Thomas Binder (Gryf @ IRCNet)  gryf@hrzpub.tu-darmstadt.de
PGP-key available on request!  binder@rbg.informatik.tu-darmstadt.de
Vote against SPAM:             http://www.politik-digital.de/spam/

Attachment: pgpJgijvcX9B0.pgp
Description: PGP signature