test/testgl.c
changeset 363 ca0b4ba5313e
parent 320 66f815c147ed
child 492 c59692dcdce0
equal deleted inserted replaced
362:3791ff65cddd 363:ca0b4ba5313e
   452         }
   452         }
   453 
   453 
   454 	/* Initialize the display */
   454 	/* Initialize the display */
   455 	switch (bpp) {
   455 	switch (bpp) {
   456 	    case 8:
   456 	    case 8:
   457 		rgb_size[0] = 2;
   457 		rgb_size[0] = 3;
   458 		rgb_size[1] = 3;
   458 		rgb_size[1] = 3;
   459 		rgb_size[2] = 3;
   459 		rgb_size[2] = 2;
   460 		break;
   460 		break;
   461 	    case 15:
   461 	    case 15:
   462 	    case 16:
   462 	    case 16:
   463 		rgb_size[0] = 5;
   463 		rgb_size[0] = 5;
   464 		rgb_size[1] = 5;
   464 		rgb_size[1] = 5;