Re: several bugs in pack/unpacking of textures

Greg Humphreys <[email protected]> Mon, 11 Apr 2005 11:10:59 -0400
Newsgroups gmane.comp.graphics.chromium.devel
Message-ID <[email protected]>
Well, you only need to call crPackFree if you are concerned about
leaking memory.

On Apr 10, 2005 7:44 AM, Christopher Waters <[email protected]> wrote:
> I went through a little more of the packer/unpacker code and tossed in a
> few more fixes. I also took out one of the "special case" functions,
> which seems to probably be the only one that 'needed' to be done at all.
> 
> I'm finding some quirks in that crPackFree is not being called in the
> functions that use crPackAlloc... shouldn't it always be called?
> 
>  -Chris
> 
> Brian Paul wrote:
> 
> > Christopher Waters wrote:
> >
> >> I just threw together the other 5.  I'm not checking it in myself
> >> because I'm only 99% sure it's right, mainly because I've never
> >> touched the unpacker before, but it was easy enough.  I also fixed
> >> the function that was just added (GLenum was used in all the
> >> READ_DATAs, instead of each variable's type)
> >
> >
> > The code looks good to me.  I've checked it in.  Thanks!
> >
> > -Brian
> >
> >
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Chromium-dev mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/chromium-dev
> 
> 


-- 
Greg Humphreys, Assistant Professor
Department of Computer Science, University of Virginia
http://www.cs.virginia.edu/~humper/


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click