summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/x11/xm_dd.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2001-02-19 20:01:41 +0000
committerBrian Paul <[email protected]>2001-02-19 20:01:41 +0000
commit2aadbf41dfd4f63c6118d0ad2d8659d289cbe454 (patch)
tree9ebf9a44ae046cf337ae8e6f1bec6fc88c4cccaf /src/mesa/drivers/x11/xm_dd.c
parentaaf5a9bb08a596a6bd5cc1150dcd50cb710db919 (diff)
Updated Driver.CopyTexImage[12]D and Driver.CopyTexSubImage[123]D functions
so they work like the other teximage functions. Added fallback routines to texstore.c for drivers to use.
Diffstat (limited to 'src/mesa/drivers/x11/xm_dd.c')
-rw-r--r--src/mesa/drivers/x11/xm_dd.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mesa/drivers/x11/xm_dd.c b/src/mesa/drivers/x11/xm_dd.c
index 424d0fb48e3..bf0058cc41e 100644
--- a/src/mesa/drivers/x11/xm_dd.c
+++ b/src/mesa/drivers/x11/xm_dd.c
@@ -1,4 +1,4 @@
-/* $Id: xm_dd.c,v 1.14 2001/02/06 21:42:49 brianp Exp $ */
+/* $Id: xm_dd.c,v 1.15 2001/02/19 20:01:42 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -965,6 +965,11 @@ void xmesa_init_pointers( GLcontext *ctx )
ctx->Driver.TexSubImage1D = _mesa_store_texsubimage1d;
ctx->Driver.TexSubImage2D = _mesa_store_texsubimage2d;
ctx->Driver.TexSubImage3D = _mesa_store_texsubimage3d;
+ ctx->Driver.CopyTexImage1D = _mesa_copy_teximage1d;
+ ctx->Driver.CopyTexImage2D = _mesa_copy_teximage2d;
+ ctx->Driver.CopyTexSubImage1D = _mesa_copy_texsubimage1d;
+ ctx->Driver.CopyTexSubImage2D = _mesa_copy_texsubimage2d;
+ ctx->Driver.CopyTexSubImage3D = _mesa_copy_texsubimage3d;
ctx->Driver.TestProxyTexImage = _mesa_test_proxy_teximage;
/*