Search
lxdream.org :: lxdream/src/drivers/video_x11.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/drivers/video_x11.c
changeset 317:7c90a7dc139b
prev290:4d11ef6766be
next327:00d55a462af3
author nkeynes
date Tue Jan 23 11:21:21 2007 +0000 (13 years ago)
permissions -rw-r--r--
last change Change default mode to BGR, not RGB
file annotate diff log raw
1.1 --- a/src/drivers/video_x11.c Mon Jan 15 12:57:12 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;
.