projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dec0131
)
call _mesa_sizeof_packed_type() in _mesa_GetTexImage() (bug 547203)
author
Brian Paul
<brian.paul@tungstengraphics.com>
Tue, 23 Apr 2002 16:44:46 +0000
(16:44 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Tue, 23 Apr 2002 16:44:46 +0000
(16:44 +0000)
src/mesa/main/teximage.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/teximage.c
b/src/mesa/main/teximage.c
index e383cbdfc9698450ac70a4f03e355e78cb42fa19..342bab3aac9bbfe602bfceca1cf5534908388135 100644
(file)
--- a/
src/mesa/main/teximage.c
+++ b/
src/mesa/main/teximage.c
@@
-1,8
+1,8
@@
-/* $Id: teximage.c,v 1.10
7 2002/03/19 16:47:05
brianp Exp $ */
+/* $Id: teximage.c,v 1.10
8 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;
}