projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8a84a9
)
destBytesPerRow was uninitialized in make_texture_image()
author
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 1 Sep 2000 22:01:12 +0000
(22:01 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 1 Sep 2000 22:01:12 +0000
(22:01 +0000)
src/mesa/main/teximage.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/teximage.c
b/src/mesa/main/teximage.c
index b985ee4b1a87da01668dfd1e84d144bb08df6342..2fb8e8b4041ca9a60dca963d829394cc166569da 100644
(file)
--- a/
src/mesa/main/teximage.c
+++ b/
src/mesa/main/teximage.c
@@
-1,4
+1,4
@@
-/* $Id: teximage.c,v 1.4
3 2000/08/31 15:24:39
brianp Exp $ */
+/* $Id: teximage.c,v 1.4
4 2000/09/01 22:01:12
brianp Exp $ */
/*
* Mesa 3-D graphics library
@@
-887,6
+887,7
@@
make_texture_image( GLcontext *ctx, GLuint dimensions,
}
else {
/* no convolution */
+ destBytesPerRow = width * components * sizeof(GLubyte);
for (img = 0; img < depth; img++) {
for (row = 0; row < height; row++) {
const GLvoid *srcAddr = _mesa_image_address(srcPacking,