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 857:3d8944884eaa
prev805:b355f7b3ff2e
next863:a5e5310061e2
author nkeynes
date Fri Sep 12 05:36:00 2008 +0000 (11 years ago)
permissions -rw-r--r--
last change Implement write-back with the hscaler enabled
file annotate diff log raw
1.1 --- a/src/drivers/gl_fbo.c Thu Aug 07 23:53:17 2008 +0000
1.2 +++ b/src/drivers/gl_fbo.c Fri Sep 12 05:36:00 2008 +0000
1.3 @@ -319,6 +319,7 @@
1.4 static gboolean gl_fbo_read_render_buffer( unsigned char *target, render_buffer_t buffer,
1.5 int rowstride, int format )
1.6 {
1.7 + glGetError();
1.8 int fb = gl_fbo_get_framebuffer( buffer->width, buffer->height );
1.9 gl_fbo_attach_texture( fb, buffer->buf_id );
1.10 return gl_read_render_buffer( target, buffer, rowstride, format );
.