Horde3D
http://horde3d.org/forums/

4 is used instead of RBRenderBuffer::MaxColorAttachmentCount
http://horde3d.org/forums/viewtopic.php?f=3&t=1182
Page 1 of 1

Author:  attila [ 19.06.2010, 16:02 ]
Post subject:  4 is used instead of RBRenderBuffer::MaxColorAttachmentCount

This is not really a bug, just for consistency.
As I'm trying to create GLES11 renderer for Horde3D (using the OES_framebuffer_object extension) i've noticed that RendererBase::releaseRenderBuffer and getRenderBufferTex uses 4 instead of the constant RBRenderBuffer::MaxColorAttachmentCount.

in getRenderBufferData:
if( (unsigned)bufIndex > 3 || rb.colBufs[bufIndex] == 0 ) return false;

Author:  marciano [ 26.06.2010, 18:23 ]
Post subject:  Re: 4 is used instead of RBRenderBuffer::MaxColorAttachmentCount

Thanks for the hint, we'll fix that.

Author:  attila [ 14.07.2010, 21:51 ]
Post subject:  Re: 4 is used instead of RBRenderBuffer::MaxColorAttachmentCount

Thanks for the fix

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/