diff options
author | Brian Paul <[email protected]> | 2012-09-29 08:47:55 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-10-05 17:13:03 -0600 |
commit | 5a63634a136caa905e7a1fa5da8fe5dc9f26add5 (patch) | |
tree | 5c443a81a5f65de3916cdbbe943d5d0f72b00fd9 /src/mesa/drivers/dri/radeon/radeon_ioctl.c | |
parent | 7fa0f10cd85ccb5afbc3a961164011de70970ff3 (diff) |
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.
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_ioctl.c')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_ioctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_ioctl.c b/src/mesa/drivers/dri/radeon/radeon_ioctl.c index c6c8b054351..4167820765b 100644 --- a/src/mesa/drivers/dri/radeon/radeon_ioctl.c +++ b/src/mesa/drivers/dri/radeon/radeon_ioctl.c @@ -64,7 +64,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ void radeonSetUpAtomList( r100ContextPtr rmesa ) { - int i, mtu = rmesa->radeon.glCtx->Const.MaxTextureUnits; + int i, mtu = rmesa->radeon.glCtx.Const.MaxTextureUnits; make_empty_list(&rmesa->radeon.hw.atomlist); rmesa->radeon.hw.atomlist.name = "atom-list"; @@ -208,7 +208,7 @@ void radeonFlushElts( struct gl_context *ctx ) if (RADEON_DEBUG & RADEON_SYNC) { fprintf(stderr, "%s: Syncing\n", __FUNCTION__); - radeonFinish( rmesa->radeon.glCtx ); + radeonFinish( &rmesa->radeon.glCtx ); } } @@ -267,7 +267,7 @@ GLushort *radeonAllocEltsOpenEnded( r100ContextPtr rmesa, __FUNCTION__, primitive); assert(!rmesa->radeon.dma.flush); - rmesa->radeon.glCtx->Driver.NeedFlush |= FLUSH_STORED_VERTICES; + rmesa->radeon.glCtx.Driver.NeedFlush |= FLUSH_STORED_VERTICES; rmesa->radeon.dma.flush = radeonFlushElts; return retval; |