mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 14:00:16 +01:00
set default window pos, changed 4 to GL_RGBA
This commit is contained in:
parent
4ed1d0b2c0
commit
345a71a9cb
1 changed files with 2 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue