Date: Thu, 18 Apr 2002 13:50:53 -0700
authorSam Lantinga <slouken@libsdl.org>
Fri, 19 Apr 2002 03:29:22 +0000
changeset 363ca0b4ba5313e
parent 362 3791ff65cddd
child 364 4cc7275320a5
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!
test/testgl.c
     1.1 --- a/test/testgl.c	Thu Apr 18 04:51:20 2002 +0000
     1.2 +++ b/test/testgl.c	Fri Apr 19 03:29:22 2002 +0000
     1.3 @@ -454,9 +454,9 @@
     1.4  	/* Initialize the display */
     1.5  	switch (bpp) {
     1.6  	    case 8:
     1.7 -		rgb_size[0] = 2;
     1.8 +		rgb_size[0] = 3;
     1.9  		rgb_size[1] = 3;
    1.10 -		rgb_size[2] = 3;
    1.11 +		rgb_size[2] = 2;
    1.12  		break;
    1.13  	    case 15:
    1.14  	    case 16: