projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5f618a
)
fixed minor bug in copytexsubimage_error_check()
author
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 21 Feb 2000 16:34:21 +0000
(16:34 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 21 Feb 2000 16:34:21 +0000
(16:34 +0000)
src/mesa/main/teximage.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/teximage.c
b/src/mesa/main/teximage.c
index 5a8ccfdefdb0b88e2aa407fb016d98c9202cbcf3..f2b40b8c4a6ee2782bc5a67672167837a042d3fa 100644
(file)
--- a/
src/mesa/main/teximage.c
+++ b/
src/mesa/main/teximage.c
@@
-1,4
+1,4
@@
-/* $Id: teximage.c,v 1.1
6 2000/02/12 17:26:15
brianp Exp $ */
+/* $Id: teximage.c,v 1.1
7 2000/02/21 16:34:21
brianp Exp $ */
/*
* Mesa 3-D graphics library
@@
-967,7
+967,7
@@
copytexsubimage_error_check( GLcontext *ctx, GLuint dimensions,
return GL_TRUE;
}
- teximage = texUnit->CurrentD[
3
]->Image[level];
+ teximage = texUnit->CurrentD[
dimensions
]->Image[level];
if (!teximage) {
char message[100];
sprintf(message, "glCopyTexSubImage%dD(undefined texture)", dimensions);