diff options
author | Brian Paul <[email protected]> | 2002-04-23 16:44:46 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2002-04-23 16:44:46 +0000 |
commit | 62c36a2ff39d775c1f1bc377b9ddbc69e2340799 (patch) | |
tree | 7c5791146ef42482ee526e5b7bc81d8b7c7dfd2e /src/mesa | |
parent | dec0131a29584171f88e6734c0ec6a429c22b007 (diff) |
call _mesa_sizeof_packed_type() in _mesa_GetTexImage() (bug 547203)
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/teximage.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index e383cbdfc96..342bab3aac9 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -1,8 +1,8 @@ -/* $Id: teximage.c,v 1.107 2002/03/19 16:47:05 brianp Exp $ */ +/* $Id: teximage.c,v 1.108 2002/04/23 16:44:46 brianp Exp $ */ /* * Mesa 3-D graphics library - * Version: 4.0.2 + * Version: 4.1 * * Copyright (C) 1999-2002 Brian Paul All Rights Reserved. * @@ -1222,7 +1222,7 @@ _mesa_GetTexImage( GLenum target, GLint level, GLenum format, return; } - if (_mesa_sizeof_type(type) <= 0) { + if (_mesa_sizeof_packed_type(type) <= 0) { _mesa_error( ctx, GL_INVALID_ENUM, "glGetTexImage(type)" ); return; } |