projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14425ae
)
fixed mipmap setup bug
author
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 9 Nov 2000 16:53:26 +0000
(16:53 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 9 Nov 2000 16:53:26 +0000
(16:53 +0000)
progs/tests/manytex.c
patch
|
blob
|
history
diff --git
a/progs/tests/manytex.c
b/progs/tests/manytex.c
index 06e67bdbccc196920beee79edfaca205a806d84d..0f8f9574be496d293e6848af9d235f2bbe147352 100644
(file)
--- a/
progs/tests/manytex.c
+++ b/
progs/tests/manytex.c
@@
-1,4
+1,4
@@
-/* $Id: manytex.c,v 1.
2 2000/10/23 23:32:22
brianp Exp $ */
+/* $Id: manytex.c,v 1.
3 2000/11/09 16:53:26
brianp Exp $ */
/*
* test handling of many texture maps
@@
-230,7
+230,7
@@
static void Init( void )
GLint level = 0;
GLint w = TexWidth, h = TexHeight;
while (1) {
- glTexImage2D(GL_TEXTURE_2D,
0
, GL_RGBA, w, h, 0,
+ glTexImage2D(GL_TEXTURE_2D,
level
, GL_RGBA, w, h, 0,
GL_RGBA, GL_UNSIGNED_BYTE, texImage);
if (w == 1 && h == 1)
break;