diff options
author | Brian Paul <[email protected]> | 2000-09-15 23:59:46 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-09-15 23:59:46 +0000 |
commit | 345a71a9cb516ba7df775b4c8f6c1655e4f20d8c (patch) | |
tree | 7c5df412ac3ebf8da6c4de338d3b26435d53551c /progs/demos/texenv.c | |
parent | 4ed1d0b2c0c30c0b415cbf78aa90f334da91f543 (diff) |
set default window pos, changed 4 to GL_RGBA
Diffstat (limited to 'progs/demos/texenv.c')
-rw-r--r-- | progs/demos/texenv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/progs/demos/texenv.c b/progs/demos/texenv.c index 89e3880724e..b7d7002af8e 100644 --- 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(); |