diff options
author | Keith Whitwell <[email protected]> | 2001-03-19 02:25:35 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2001-03-19 02:25:35 +0000 |
commit | 709892459922a32096fe9dd8261d0d92337bb02f (patch) | |
tree | 87782215d4531207c97b236a5dfa0d15c45aef8a /src/mesa/main/teximage.c | |
parent | d9bf6ccce9f5fea22d6a478c4afafea3c3c525c5 (diff) |
Split driver struct into swrast/tnl/core components.
Diffstat (limited to 'src/mesa/main/teximage.c')
-rw-r--r-- | src/mesa/main/teximage.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index d44b5d6ee67..cb7447769c7 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -1,4 +1,4 @@ -/* $Id: teximage.c,v 1.85 2001/03/18 08:53:49 gareth Exp $ */ +/* $Id: teximage.c,v 1.86 2001/03/19 02:25:35 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -1349,11 +1349,13 @@ _mesa_TexImage1D( GLenum target, GLint level, GLint internalFormat, } } +#if 0 /* one of these has to be non-zero! */ ASSERT(texImage->RedBits || texImage->IndexBits || texImage->AlphaBits || texImage->LuminanceBits || texImage->IntensityBits || texImage->DepthBits); ASSERT(texImage->FetchTexel); +#endif /* state update */ texObj->Complete = GL_FALSE; @@ -1461,11 +1463,13 @@ _mesa_TexImage2D( GLenum target, GLint level, GLint internalFormat, } } +#if 0 /* one of these has to be non-zero! */ ASSERT(texImage->RedBits || texImage->IndexBits || texImage->AlphaBits || texImage->LuminanceBits || texImage->IntensityBits || texImage->DepthBits); ASSERT(texImage->FetchTexel); +#endif /* state update */ texObj->Complete = GL_FALSE; @@ -1566,11 +1570,13 @@ _mesa_TexImage3D( GLenum target, GLint level, GLint internalFormat, } } +#if 0 /* one of these has to be non-zero! */ ASSERT(texImage->RedBits || texImage->IndexBits || texImage->AlphaBits || texImage->LuminanceBits || texImage->IntensityBits || texImage->DepthBits); ASSERT(texImage->FetchTexel); +#endif /* state update */ texObj->Complete = GL_FALSE; |