summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/teximage.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2001-05-24 14:47:56 +0000
committerBrian Paul <[email protected]>2001-05-24 14:47:56 +0000
commit9228e17bb5bf219269daeed5cbfdd912c118e926 (patch)
tree39d2a6fc98674e727e44ac98f1941531ff848710 /src/mesa/main/teximage.c
parent55ed11bac511bb9ba80c1e2d2115d91e32621be4 (diff)
Finished GL_SGIS_generate_mipmap. Should be trivial to enable in DRI drivers.
Diffstat (limited to 'src/mesa/main/teximage.c')
-rw-r--r--src/mesa/main/teximage.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c
index 2f1d4383926..ce9a1f14aa2 100644
--- a/src/mesa/main/teximage.c
+++ b/src/mesa/main/teximage.c
@@ -1,4 +1,4 @@
-/* $Id: teximage.c,v 1.94 2001/05/21 16:41:03 brianp Exp $ */
+/* $Id: teximage.c,v 1.95 2001/05/24 14:47:56 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -328,7 +328,9 @@ _mesa_set_tex_image(struct gl_texture_object *tObj,
ASSERT(tObj);
ASSERT(texImage);
switch (target) {
+ case GL_TEXTURE_1D:
case GL_TEXTURE_2D:
+ case GL_TEXTURE_3D:
tObj->Image[level] = texImage;
return;
case GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB: