From: Brian P. <br...@va...> - 2001-06-07 17:24:21
|
Pontus Hedman wrote: > > > Either submit the patch here if it's small enough, or submit > > to patches on the DRI sourceforge page. > > Ok; it's a trivial one-liner to r128ConvertTexture32bpp. > See below. > > It's probably more of a workaround than a fix > (the image passed in from r128UploadSubImage() > had dimensions but no Data for some reason), > but it beats having X lock up, and descent3 > runs fine with this fix. > > Index: r128_tex.c > =================================================================== > RCS file: /cvsroot/dri/xc/xc/lib/GL/mesa/src/drv/r128/r128_tex.c,v > retrieving revision 1.20 > diff -r1.20 r128_tex.c > 703c703 > < if ( !image ) > --- > > if ( !image || !image->Data) > This looks reasonable. I'll apply it to the trunk. This code has changed quite a bit in the 3.5 driver but I think it might be applicable there too. -Brian |