Re: [Dri-devel] Confusion about some code in driCreateContext

2003-09-16 Thread Keith Whitwell
Ian Romanick wrote: I'm making the change I mentioned earlier to the way screens / contexts / drawables are created by the driver. In doing so I came across some very curious code in driCreateContext (in lib/GL/dri/dri_util.c). Early in the function there is an if-statement that begins 'if (!

[Dri-devel] Confusion about some code in driCreateContext

2003-09-16 Thread Ian Romanick
I'm making the change I mentioned earlier to the way screens / contexts / drawables are created by the driver. In doing so I came across some very curious code in driCreateContext (in lib/GL/dri/dri_util.c). Early in the function there is an if-statement that begins 'if (!psp->dummyContextPri