Chris Rankin wrote:
> Hi,
> 
> I found this issue in the Mesa 6.5.1-CVS20060818 code (courtesy of FC6):
> 
> In the r200_translate_vertex_program() function, in 
> src/mesa/drivers/dri/r200/r200_vertprog.c,
> there are the following lines (about line 545):
> 
> ...
>    vp->pos_end = 0;
>    mesa_vp->Base.NumNativeInstructions = 0;
>    mesa_vp->Base.NumNativeParameters = 
> mesa_vp->Base.Parameters->NumParameters;
> ...
> 
> My wine/OpenGL program is crashing here because mesa_vp->Base.Parameters is 
> NULL. This is
> obviously a Bad Thing, but could you tell me whether this would be an 
> r200_dri.so error, or
> possibly Wine's fault for not setting something up properly beforehand, 
> please?

I've checked in a test for mesa_vp->Base.Parameters == NULL.  That 
should fix it.

-Brian

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to