Search
lxdream.org :: lxdream/src/display.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/display.h
changeset 669:ab344e42bca9
prev615:38b69ec2f4c8
next674:377d987db8f2
author nkeynes
date Mon May 12 10:00:13 2008 +0000 (11 years ago)
permissions -rw-r--r--
last change Cleanup most of the -Wall warnings (getting a bit sloppy...)
Convert FP code to use fixed banks rather than indirect pointer
(3-4% faster this way now)
file annotate diff log raw
1.1 --- a/src/display.h Mon Jan 28 11:17:15 2008 +0000
1.2 +++ b/src/display.h Mon May 12 10:00:13 2008 +0000
1.3 @@ -20,6 +20,8 @@
1.4 #ifndef dream_video_H
1.5 #define dream_video_H
1.6
1.7 +#define GL_GLEXT_PROTOTYPES 1
1.8 +
1.9 #include <stdint.h>
1.10 #include <glib.h>
1.11 #include "lxdream.h"
1.12 @@ -153,13 +155,13 @@
1.13 /**
1.14 * Display a single frame using a previously rendered GL buffer.
1.15 */
1.16 - gboolean (*display_render_buffer)( render_buffer_t buffer );
1.17 + void (*display_render_buffer)( render_buffer_t buffer );
1.18
1.19 /**
1.20 * Display a single blanked frame using a fixed colour for the
1.21 * entire frame (specified in BGR888 format).
1.22 */
1.23 - gboolean (*display_blank)( uint32_t rgb );
1.24 + void (*display_blank)( uint32_t rgb );
1.25
1.26 /**
1.27 * Copy the image data from the GL buffer to the target memory buffer,
.