Search
lxdream.org :: lxdream/src/pvr2/pvr2.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/pvr2.c
changeset 805:b355f7b3ff2e
prev736:a02d1475ccfd
next850:28782ebbd01d
author nkeynes
date Thu Aug 07 23:53:17 2008 +0000 (11 years ago)
permissions -rw-r--r--
last change Add ability to bind a render buffer to a texture, with output going to the texture.
(RTT work in progress)
file annotate diff log raw
1.1 --- a/src/pvr2/pvr2.c Mon Jul 14 07:44:42 2008 +0000
1.2 +++ b/src/pvr2/pvr2.c Thu Aug 07 23:53:17 2008 +0000
1.3 @@ -917,14 +917,14 @@
1.4 }
1.5 if( result->width != width || result->height != height ) {
1.6 display_driver->destroy_render_buffer(render_buffers[i]);
1.7 - result = display_driver->create_render_buffer(width,height);
1.8 + result = display_driver->create_render_buffer(width,height,0);
1.9 render_buffers[i] = result;
1.10 }
1.11 break;
1.12 }
1.13 }
1.14 } else {
1.15 - result = display_driver->create_render_buffer(width,height);
1.16 + result = display_driver->create_render_buffer(width,height,0);
1.17 if( result != NULL ) {
1.18 render_buffers[render_buffer_count++] = result;
1.19 }
.