From 2aadbf41dfd4f63c6118d0ad2d8659d289cbe454 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 19 Feb 2001 20:01:41 +0000 Subject: 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. --- src/mesa/drivers/x11/xm_dd.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/mesa/drivers/x11') 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; /* -- cgit v1.2.3