radeon/r200: make radeon_context subclass of gl_context

radeon_context now contains a gl_context, rather than a pointer to one.
This will allow some minor core Mesa clean-up.
This commit is contained in:
Brian Paul
2012-09-29 08:47:55 -06:00
parent 7fa0f10cd8
commit 5a63634a13
27 changed files with 106 additions and 105 deletions

View File

@@ -107,7 +107,7 @@ void rcommonBeginBatch(radeonContextPtr rmesa,
static INLINE void radeon_firevertices(radeonContextPtr radeon)
{
if (radeon->cmdbuf.cs->cdw || radeon->dma.flush )
radeon->glCtx->Driver.Flush(radeon->glCtx); /* +r6/r7 */
radeon->glCtx.Driver.Flush(&radeon->glCtx); /* +r6/r7 */
}
#endif