--- Mesa-6.5/src/mesa/main/framebuffer.c.ctx 2006-03-31 12:29:47.000000000 -0500 +++ Mesa-6.5/src/mesa/main/framebuffer.c 2006-09-16 09:58:32.000000000 -0400 @@ -306,7 +306,8 @@ fb->Height = height; /* to update scissor / window bounds */ - _mesa_update_draw_buffer_bounds(ctx); + if (ctx) + _mesa_update_draw_buffer_bounds(ctx); }