1.1 --- a/src/display.c Thu Jan 25 11:46:35 2007 +0000
1.2 +++ b/src/display.c Thu Jan 25 13:03:23 2007 +0000
1.5 - * $Id: display.c,v 1.4 2007-01-25 11:46:35 nkeynes Exp $
1.6 + * $Id: display.c,v 1.5 2007-01-25 13:03:23 nkeynes Exp $
1.8 * Generic support for keyboard and other input sources. The active display
1.9 * driver is expected to deliver events here, where they're translated and
1.11 * Colour format information
1.13 struct colour_format colour_formats[] = {
1.14 - { GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_RGBA, GL_RGB5_A1, 2 },
1.15 + { GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_BGRA, GL_RGB5_A1, 2 },
1.16 { GL_UNSIGNED_SHORT_5_6_5, GL_RGB, GL_RGB5, 2 },
1.17 { GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_BGRA, GL_RGBA4, 2 },
1.18 { GL_UNSIGNED_INT_8_8_8_8_REV, GL_BGRA, GL_RGBA8, 4 }, /* YUV decoded to ARGB8888 */