diff options
author | Dave Airlie <airliedfreedesktop.org> | 2004-02-06 00:16:26 +0000 |
---|---|---|
committer | Dave Airlie <airliedfreedesktop.org> | 2004-02-06 00:16:26 +0000 |
commit | 6c7bb5ebbde6dfe19ecf0e9c6790c28b8b2e8d1e (patch) | |
tree | a3fd56662e57965b870cd20889c6d7bf89f5bcc2 /src/mesa/drivers/dri/mach64/mach64_tex.c | |
parent | 0fbeff2fa2e831e45e4dc6014c8f1e6abaa44aa1 (diff) |
Remove warnings from mach64 build, fix up some _SOLO stuff,
update to newer Mesa interfaces...
Diffstat (limited to 'src/mesa/drivers/dri/mach64/mach64_tex.c')
-rw-r--r-- | src/mesa/drivers/dri/mach64/mach64_tex.c | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/src/mesa/drivers/dri/mach64/mach64_tex.c b/src/mesa/drivers/dri/mach64/mach64_tex.c index 02d76067ae..1ac42e330d 100644 --- a/src/mesa/drivers/dri/mach64/mach64_tex.c +++ b/src/mesa/drivers/dri/mach64/mach64_tex.c @@ -580,26 +580,26 @@ static GLboolean mach64DDIsTextureResident( GLcontext *ctx, } -void mach64DDInitTextureFuncs( GLcontext *ctx ) +void mach64InitTextureFuncs( struct dd_function_table *functions ) { - ctx->Driver.TexEnv = mach64DDTexEnv; - ctx->Driver.ChooseTextureFormat = mach64ChooseTextureFormat; - ctx->Driver.TexImage1D = mach64TexImage1D; - ctx->Driver.TexSubImage1D = mach64TexSubImage1D; - ctx->Driver.TexImage2D = mach64TexImage2D; - ctx->Driver.TexSubImage2D = mach64TexSubImage2D; - ctx->Driver.TexImage3D = _mesa_store_teximage3d; - ctx->Driver.TexSubImage3D = _mesa_store_texsubimage3d; - ctx->Driver.CopyTexImage1D = _swrast_copy_teximage1d; - ctx->Driver.CopyTexImage2D = _swrast_copy_teximage2d; - ctx->Driver.CopyTexSubImage1D = _swrast_copy_texsubimage1d; - ctx->Driver.CopyTexSubImage2D = _swrast_copy_texsubimage2d; - ctx->Driver.CopyTexSubImage3D = _swrast_copy_texsubimage3d; - ctx->Driver.TexParameter = mach64DDTexParameter; - ctx->Driver.BindTexture = mach64DDBindTexture; - ctx->Driver.DeleteTexture = mach64DDDeleteTexture; - ctx->Driver.UpdateTexturePalette = NULL; - ctx->Driver.ActiveTexture = NULL; - ctx->Driver.IsTextureResident = mach64DDIsTextureResident; - ctx->Driver.PrioritizeTexture = NULL; + functions->TexEnv = mach64DDTexEnv; + functions->ChooseTextureFormat = mach64ChooseTextureFormat; + functions->TexImage1D = mach64TexImage1D; + functions->TexSubImage1D = mach64TexSubImage1D; + functions->TexImage2D = mach64TexImage2D; + functions->TexSubImage2D = mach64TexSubImage2D; + functions->TexImage3D = _mesa_store_teximage3d; + functions->TexSubImage3D = _mesa_store_texsubimage3d; + functions->CopyTexImage1D = _swrast_copy_teximage1d; + functions->CopyTexImage2D = _swrast_copy_teximage2d; + functions->CopyTexSubImage1D = _swrast_copy_texsubimage1d; + functions->CopyTexSubImage2D = _swrast_copy_texsubimage2d; + functions->CopyTexSubImage3D = _swrast_copy_texsubimage3d; + functions->TexParameter = mach64DDTexParameter; + functions->BindTexture = mach64DDBindTexture; + functions->DeleteTexture = mach64DDDeleteTexture; + functions->UpdateTexturePalette = NULL; + functions->ActiveTexture = NULL; + functions->IsTextureResident = mach64DDIsTextureResident; + functions->PrioritizeTexture = NULL; } |