Search
lxdream.org :: lxdream :: r317:7c90a7dc139b
lxdream 0.9.1
released Jun 29
Download Now
changeset317:7c90a7dc139b
parent316:5ae06185a3cd
child318:363935d31859
authornkeynes
dateTue Jan 23 11:21:21 2007 +0000 (12 years ago)
Change default mode to BGR, not RGB
src/drivers/video_x11.c
1.1 --- a/src/drivers/video_x11.c Tue Jan 23 11:20:26 2007 +0000
1.2 +++ b/src/drivers/video_x11.c Tue Jan 23 11:21:21 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: video_x11.c,v 1.8 2007-01-15 12:57:12 nkeynes Exp $
1.6 + * $Id: video_x11.c,v 1.9 2007-01-23 11:21:21 nkeynes Exp $
1.7 *
1.8 * Shared functions for all X11-based display drivers.
1.9 *
1.10 @@ -152,7 +152,7 @@
1.11
1.12 gboolean video_glx_display_frame( video_buffer_t frame )
1.13 {
1.14 - GLenum type, format = GL_RGB;
1.15 + GLenum type, format = GL_BGR;
1.16 switch( frame->colour_format ) {
1.17 case COLFMT_RGB565:
1.18 type = GL_UNSIGNED_SHORT_5_6_5;
.