Michael Schlueter wrote: > Hi, > > the lastest cvs version crashes for me with a sig. fault when starting a > gl application. After taking a deeper look into it, it seems to be a > problem with the lastest changes in xc/xc/extras/Mesa/src/context.c (Tue > Jun 18 03:29:39 2002 UTC (2 weeks, 3 days ago) by brianp). After > checking out the older version it works again.
OK. I checked in the fix for this problem. The problem was that the mmesa->driDrawable field wasn't getting set before _mesa_make_current(). One of the things _mesa_make_current() does is to query the size of newly bound windows to initialize the viewport. Since mmesa->driDrawable wasn't set yet we were hitting a NULL pointer. I found and fixed the same problem in the i810 and i830 drivers. -Brian ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
