diff test/testgl.c @ 363:ca0b4ba5313e

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!
author Sam Lantinga <slouken@libsdl.org>
date Fri, 19 Apr 2002 03:29:22 +0000
parents 66f815c147ed
children c59692dcdce0
line wrap: on
line diff
--- a/test/testgl.c	Thu Apr 18 04:51:20 2002 +0000
+++ b/test/testgl.c	Fri Apr 19 03:29:22 2002 +0000
@@ -454,9 +454,9 @@
 	/* 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: