Date: Thu, 18 Apr 2002 13:50:53 -0700
From: Joseph Carter <knghtbrd@bluecherry.net> Subject: [SDL] A critical bugfix! I discovered a problem with testgl.c which absolutely MUST be fixed! Not fixing this bug immediately will be a great blow to budding OpenGL coders everywhere! --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40364
This commit is contained in:
parent
67fb83d790
commit
c2fa8f306f
1 changed files with 2 additions and 2 deletions
|
@ -454,9 +454,9 @@ int RunGLTest( int argc, char* argv[],
|
|||
/* Initialize the display */
|
||||
switch (bpp) {
|
||||
case 8:
|
||||
rgb_size[0] = 2;
|
||||
rgb_size[0] = 3;
|
||||
rgb_size[1] = 3;
|
||||
rgb_size[2] = 3;
|
||||
rgb_size[2] = 2;
|
||||
break;
|
||||
case 15:
|
||||
case 16:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue