1.1 --- a/src/drivers/gl_fbo.c Tue Jan 01 05:08:38 2008 +0000
1.2 +++ b/src/drivers/gl_fbo.c Fri Mar 28 12:32:25 2008 +0000
1.7 -#include "drivers/gl_common.h"
1.8 +#include "drivers/video_gl.h"
1.9 +#include "pvr2/glutil.h"
1.11 #define MAX_FRAMEBUFFERS 2
1.12 #define MAX_TEXTURES_PER_FB 4
1.14 gl_fbo_attach_texture( fb, buffer->buf_id );
1.15 /* setup the gl context */
1.16 glViewport( 0, 0, buffer->width, buffer->height );
1.17 + glsl_enable_shader(TRUE);
1.25 + glsl_enable_shader(FALSE);
1.26 gl_display_render_buffer( buffer );
1.33 + glsl_enable_shader(FALSE);
1.34 gl_load_frame_buffer( frame, buffer->buf_id );
1.41 + glsl_enable_shader(FALSE);
1.42 return gl_display_blank( colour );