Search
lxdream.org :: lxdream/src/drivers/video_gl.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/drivers/video_gl.c
changeset 669:ab344e42bca9
prev635:76c63aac3590
next681:1755a126b109
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/drivers/video_gl.c Thu Feb 14 13:54:11 2008 +0000
1.2 +++ b/src/drivers/video_gl.c Mon May 12 10:00:13 2008 +0000
1.3 @@ -134,13 +134,12 @@
1.4 return TRUE;
1.5 }
1.6
1.7 -gboolean gl_display_blank( uint32_t colour )
1.8 +void gl_display_blank( uint32_t colour )
1.9 {
1.10 gl_reset_state();
1.11 glColor3ub( (colour >> 16) & 0xFF, (colour >> 8) & 0xFF, colour & 0xFF );
1.12 glRecti(0,0, video_width, video_height );
1.13 glFlush();
1.14 - return TRUE;
1.15 }
1.16
1.17 /**
.