Re: [Mesa-dev] [PATCH] Avoid null pointer dereference when glXSwapBuffers is called with no bound context

2012-01-15 Thread Sun, Yi
The patch could fix the segmentation fault issue while calling function glXSwapBuffers without active current context. Tested-by: Sun Yi > -Original Message- > From: mesa-dev-bounces+yi.sun=intel@lists.freedesktop.org > [mailto:mesa-dev-bounces+yi.

Re: [Mesa-dev] [PATCH] Enable is_front_buffer_rendering variable in case of GL_FRONT_AND_BACK

2012-01-09 Thread Sun, Yi
; - || (mode == GL_FRONT); > +|| (mode == GL_FRONT) || (mode == GL_FRONT_AND_BACK); > >/* If we weren't front-buffer rendering before but we are now, > * invalidate our DRI drawable so we'll ask for new buffers > -- > 1.7.7.4 This patch fixes the s