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/osmesa/osmesa.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/mesa/drivers/osmesa/osmesa.c') diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c index d0833be786f..517199601f4 100644 --- a/src/mesa/drivers/osmesa/osmesa.c +++ b/src/mesa/drivers/osmesa/osmesa.c @@ -1,4 +1,4 @@ -/* $Id: osmesa.c,v 1.46 2001/02/12 18:32:26 brianp Exp $ */ +/* $Id: osmesa.c,v 1.47 2001/02/19 20:01:42 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -1801,6 +1801,11 @@ static void osmesa_update_state( GLcontext *ctx, GLuint new_state ) 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