From c2fa8f306f496fca8147e71ae52d457132feb0b0 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 19 Apr 2002 03:29:22 +0000 Subject: [PATCH] Date: Thu, 18 Apr 2002 13:50:53 -0700 From: Joseph Carter 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 --- test/testgl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/testgl.c b/test/testgl.c index cedd43220..60af9d874 100644 --- a/test/testgl.c +++ b/test/testgl.c @@ -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: