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 1076:18c164e8aec4
prev854:130928a3cdcb
next1222:a4545699a82b
author nkeynes
date Mon Aug 03 08:41:11 2009 +1000 (10 years ago)
permissions -rw-r--r--
last change Rearrange frame output slightly.
pvr2_display_frame renamed to pvr2_next_frame and changed to update the
frame data without displaying it.
pvr2_redraw_display renamed to pvr2_draw_frame, called internally after
pvr2_next_frame
Add swap_buffers() method to the display driver
Remove explicit glDrawBuffer() calls where they're referencing the window.
pvr2_draw_frame now gets to decide where to draw.
Add force_vsync flag to force double-buffering (not configurable yet)
file annotate diff log raw
1.1 --- a/src/drivers/video_gl.c Tue Sep 09 00:51:43 2008 +0000
1.2 +++ b/src/drivers/video_gl.c Mon Aug 03 08:41:11 2009 +1000
1.3 @@ -43,7 +43,6 @@
1.4 glDisable( GL_DEPTH_TEST );
1.5 glDisable( GL_SCISSOR_TEST );
1.6 glDisable( GL_CULL_FACE );
1.7 - glDrawBuffer( GL_FRONT );
1.8 }
1.9
1.10 void gl_display_render_buffer( render_buffer_t buffer )
.