Search
lxdream.org :: lxdream/src/drivers/video_gtk.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/drivers/video_gtk.c
changeset 160:17c4c0e4f9ce
prev144:7f0714e89aaa
next180:e6dcf9b65658
author nkeynes
date Sun Jun 18 11:55:25 2006 +0000 (17 years ago)
permissions -rw-r--r--
last change Change video blank to use GL, ie to actually work
file annotate diff log raw
1.1 --- a/src/drivers/video_gtk.c Mon May 15 08:28:52 2006 +0000
1.2 +++ b/src/drivers/video_gtk.c Sun Jun 18 11:55:25 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: video_gtk.c,v 1.6 2006-05-15 08:28:52 nkeynes Exp $
1.6 + * $Id: video_gtk.c,v 1.7 2006-06-18 11:55:25 nkeynes Exp $
1.7 *
1.8 * The PC side of the video support (responsible for actually displaying /
1.9 * rendering frames)
1.10 @@ -111,14 +111,7 @@
1.11 */
1.12 gboolean video_gtk_blank( uint32_t colour )
1.13 {
1.14 - char *p = video_img->mem;
1.15 - int i;
1.16 - for( i=0; i<video_width*video_height; i++ ) {
1.17 - *p++ = (colour>>16) & 0xFF;
1.18 - *p++ = (colour>>8) & 0xFF;
1.19 - *p++ = (colour) & 0xFF;
1.20 - *p++ = 0;
1.21 - }
1.22 + video_glx_blank( video_width, video_height, colour );
1.23 }
1.24
1.25 gboolean video_gtk_display_frame( video_buffer_t frame )
.