diff options
Diffstat (limited to 'src/mesa/drivers/dri/mach64/mach64_tex.c')
-rw-r--r-- | src/mesa/drivers/dri/mach64/mach64_tex.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/mach64/mach64_tex.c b/src/mesa/drivers/dri/mach64/mach64_tex.c index fc55939198..6459deef78 100644 --- a/src/mesa/drivers/dri/mach64/mach64_tex.c +++ b/src/mesa/drivers/dri/mach64/mach64_tex.c @@ -379,8 +379,8 @@ void mach64EmitTexStateLocked( mach64ContextPtr mmesa, mach64TexObjPtr t0, mach64TexObjPtr t1 ) { - ATISAREAPrivPtr sarea = mmesa->sarea; - mach64_context_regs_t *regs = &(mmesa->setup); + drm_mach64_sarea_t *sarea = mmesa->sarea; + drm_mach64_context_regs_t *regs = &(mmesa->setup); /* for multitex, both textures must be local or AGP */ if ( t0 && t1 ) @@ -405,7 +405,7 @@ void mach64EmitTexStateLocked( mach64ContextPtr mmesa, mmesa->setup.secondary_tex_off = t1->offset; } - memcpy( &sarea->ContextState.tex_size_pitch, ®s->tex_size_pitch, + memcpy( &sarea->context_state.tex_size_pitch, ®s->tex_size_pitch, MACH64_NR_TEXTURE_REGS * sizeof(GLuint) ); } |