projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ed1d0b
)
set default window pos, changed 4 to GL_RGBA
author
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 15 Sep 2000 23:59:46 +0000
(23:59 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 15 Sep 2000 23:59:46 +0000
(23:59 +0000)
progs/demos/texenv.c
patch
|
blob
|
history
diff --git
a/progs/demos/texenv.c
b/progs/demos/texenv.c
index 89e3880724e1d2999718acd8a112ac2a3ed60ee1..b7d7002af8e2b00651d903eeb50a7103b0b28660 100644
(file)
--- a/
progs/demos/texenv.c
+++ b/
progs/demos/texenv.c
@@
-141,7
+141,7
@@
struct formatInfo rgbFormats[] =
#define NUM_RGBA_FORMATS (sizeof(rgbaFormats) / sizeof(rgbaFormats[0]))
struct formatInfo rgbaFormats[] =
{
- { GL_RGBA,
4
, "RGBA" },
+ { GL_RGBA,
GL_RGBA
, "RGBA" },
{ GL_RGBA, GL_RGBA2, "RGBA2" },
{ GL_RGBA, GL_RGBA4, "RGBA4" },
{ GL_RGBA, GL_RGB5_A1, "RGB5_A1" },
@@
-751,6
+751,7
@@
int main( int argc, char *argv[] )
}
glutInitWindowSize( winWidth, winHeight );
+ glutInitWindowPosition( 0, 0 );
glutCreateWindow( "Texture Environment Test" );
initialize();