Re: [Mesa-dev] [PATCH] svga: add null vs pointer check in update_need_pipeline()

2012-03-09 Thread Jose Fonseca
Looks good. Jose - Original Message - > Based on a patch submitted by Vic Lee. The other part of his patch > which checked the fs pointer wasn't needed. > > This fixes a crash when clear() is called before any VS or FS is set. > But this can only happen when the driver is used without t

[Mesa-dev] [PATCH] svga: add null vs pointer check in update_need_pipeline()

2012-03-09 Thread Brian Paul
Based on a patch submitted by Vic Lee. The other part of his patch which checked the fs pointer wasn't needed. This fixes a crash when clear() is called before any VS or FS is set. But this can only happen when the driver is used without the Mesa state tracker. NOTE: This is a candidate for the