summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2001-02-19 20:14:57 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2001-02-19 20:14:57 +0000
commit0c75c4c41754a4f66cdc124b4328e92635b473fe (patch)
tree215905cf9a00b00eccc5e3dbd4982fbb2e6560dc /src
parent2aadbf41dfd4f63c6118d0ad2d8659d289cbe454 (diff)
plug in fallback teximage DD functions
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/glide/fxdd.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/mesa/drivers/glide/fxdd.c b/src/mesa/drivers/glide/fxdd.c
index 2de53b95d5..0b11918e39 100644
--- a/src/mesa/drivers/glide/fxdd.c
+++ b/src/mesa/drivers/glide/fxdd.c
@@ -56,12 +56,13 @@
#include "fxdrv.h"
#include "enums.h"
#include "extensions.h"
+#include "texstore.h"
#include "swrast/swrast.h"
#include "swrast_setup/swrast_setup.h"
#include "tnl/tnl.h"
+#include "tnl/t_pipeline.h"
#include "array_cache/acache.h"
-#include "tnl/t_pipeline.h"
float gl_ubyte_to_float_255_color_tab[256];
@@ -1102,8 +1103,19 @@ void fxSetupDDPointers(GLcontext *ctx)
ctx->Driver.RenderClippedLine = _swsetup_RenderClippedLine;
ctx->Driver.RenderClippedPolygon = _swsetup_RenderClippedPolygon;
+ ctx->Driver.TexImage1D = _mesa_store_teximage1d;
ctx->Driver.TexImage2D = fxDDTexImage2D;
+ ctx->Driver.TexImage3D = _mesa_store_teximage3d;
+ ctx->Driver.TexSubImage1D = _mesa_store_texsubimage1d;
ctx->Driver.TexSubImage2D = fxDDTexSubImage2D;
+ 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;
+
ctx->Driver.TexEnv = fxDDTexEnv;
ctx->Driver.TexParameter = fxDDTexParam;
ctx->Driver.BindTexture = fxDDTexBind;