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:
@@ -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
|
||||
|
Reference in New Issue
Block a user