Re: gl calls before context set up = crash!

Brian Paul <[email protected]> Wed, 02 Mar 2005 07:08:44 -0700
Newsgroups gmane.comp.graphics.chromium.devel
Message-ID <[email protected]>
[email protected] wrote:
> Brian,
> 
> Serves me right for not starting from the CVS version (I started out in
> November and only grabbed the 1.7 release...)
> 
> You added the glim initialization into NULLfuncs on Jun 24th last year! Greg
> was onto something afterall!
> 
> Sorry to bug you about all that...

No problem.  I backed out yesterday's change from CVS.


> Thanks,
> Jon
> 
> ps. Am I at least right about params[17] in tilesortspu_stereo.c needing to be
> params[18]? (See my previous message or my bugreport on sourceforge for a few
> more details...)

I just checked in the fix.  Thanks!

-Brian


> Quoting Brian Paul <[email protected]>:
> 
> 
>>I can add the two lines you listed below, but I guess I don't
>>understand why the no-op functions aren't working as-is.
>>
>>In NULLfuncs.c the glim table is statically initialized:
>>
>>/* Declare and initialize the glim dispatch table here so that we */
>>/* can initialize all entries to no-op routines. */
>>SPUDispatchTable glim = {
>>	NULL_Accum,
>>	NULL_ActiveTextureARB,
>>	NULL_AlphaFunc,
>>	NULL_AreProgramsResidentNV,
>>[...]
>>
>>
>>That _should_ be sufficient.  Perhaps I'm missing some subtle aspect
>>of the Windows code though.
>>
>>-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