summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/osmesa
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/osmesa
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/osmesa')
-rw-r--r--src/mesa/drivers/osmesa/osmesa.c7
1 files changed, 6 insertions, 1 deletions
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;