From 9228e17bb5bf219269daeed5cbfdd912c118e926 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 24 May 2001 14:47:56 +0000 Subject: Finished GL_SGIS_generate_mipmap. Should be trivial to enable in DRI drivers. --- src/mesa/main/teximage.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/mesa/main/teximage.c') diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 2f1d438392..ce9a1f14aa 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: -- cgit v1.2.3