From 5ff4075a6961b26042dc2d7f4adcf333439823f4 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 19 Apr 2001 22:39:50 +0000 Subject: bug fixes, added missing state query cases --- src/mesa/main/teximage.c | 3 ++- 1 file changed, 2 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 ae1ef018ce..349e857743 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -1,4 +1,4 @@ -/* $Id: teximage.c,v 1.91 2001/03/30 21:12:15 brianp Exp $ */ +/* $Id: teximage.c,v 1.92 2001/04/19 22:39:50 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -418,6 +418,7 @@ _mesa_select_tex_object(GLcontext *ctx, const struct gl_texture_unit *texUnit, case GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB: case GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB: case GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB: + case GL_TEXTURE_CUBE_MAP_ARB: return ctx->Extensions.ARB_texture_cube_map ? texUnit->CurrentCubeMap : NULL; case GL_PROXY_TEXTURE_CUBE_MAP_ARB: -- cgit v1.2.3