Search
lxdream.org :: lxdream/src/drivers/gl_fbo.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/drivers/gl_fbo.c
changeset 1298:d0eb2307b847
prev1251:b8ab59d39756
author nkeynes
date Wed Feb 04 08:38:23 2015 +1000 (5 years ago)
permissions -rw-r--r--
last change Fix assorted compile warnings reported by Clang
file annotate diff log raw
1.1 --- a/src/drivers/gl_fbo.c Sat Mar 03 16:11:28 2012 +1000
1.2 +++ b/src/drivers/gl_fbo.c Wed Feb 04 08:38:23 2015 +1000
1.3 @@ -298,8 +298,6 @@
1.4
1.5 static void gl_fbo_destroy_render_buffer( render_buffer_t buffer )
1.6 {
1.7 - int i,j;
1.8 -
1.9 gl_fbo_detach_render_buffer( buffer );
1.10
1.11 if( buffer->buf_id != buffer->tex_id ) {
1.12 @@ -344,7 +342,7 @@
1.13 static void gl_fbo_load_frame_buffer( frame_buffer_t frame, render_buffer_t buffer )
1.14 {
1.15 gl_fbo_detach();
1.16 - gl_load_frame_buffer( frame, buffer->buf_id );
1.17 + gl_frame_buffer_to_tex( frame, buffer->buf_id );
1.18 }
1.19
1.20 static void gl_fbo_display_blank( uint32_t colour )
.