Search
lxdream.org :: lxdream/src/drivers/video_null.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/drivers/video_null.c
changeset 481:3b2d6c5a19ad
prev477:9a373f2ff009
next561:533f6b478071
author nkeynes
date Wed Oct 31 12:05:23 2007 +0000 (14 years ago)
permissions -rw-r--r--
last change Fix miscellaneous warnings
file annotate diff log raw
1.1 --- a/src/drivers/video_null.c Wed Oct 31 09:10:23 2007 +0000
1.2 +++ b/src/drivers/video_null.c Wed Oct 31 12:05:23 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: video_null.c,v 1.6 2007-10-31 09:10:23 nkeynes Exp $
1.6 + * $Id: video_null.c,v 1.7 2007-10-31 12:05:23 nkeynes Exp $
1.7 *
1.8 * Null video output driver (ie no video output whatsoever)
1.9 *
1.10 @@ -37,14 +37,13 @@
1.11 return TRUE;
1.12 }
1.13
1.14 -gboolean video_null_read_render_buffer( unsigned char *target, render_buffer_t buffer, int format )
1.15 +gboolean video_null_read_render_buffer( unsigned char *target, render_buffer_t buffer, int rowstride, int format )
1.16 {
1.17 return TRUE;
1.18 }
1.19
1.20 -gboolean video_null_display_frame_buffer( frame_buffer_t buffer )
1.21 +void video_null_load_frame_buffer( frame_buffer_t frame, render_buffer_t buffer )
1.22 {
1.23 - return TRUE;
1.24 }
1.25
1.26 gboolean video_null_display_blank( uint32_t colour )
1.27 @@ -64,7 +63,7 @@
1.28 video_null_create_render_buffer,
1.29 video_null_destroy_render_buffer,
1.30 video_null_set_render_target,
1.31 - video_null_display_frame_buffer,
1.32 + video_null_load_frame_buffer,
1.33 video_null_display_render_buffer,
1.34 video_null_display_blank,
1.35 video_null_read_render_buffer };
.