Changed the Camera::BufferComponent::COLOR_BUFFER0 from being equal to COLOR_BUFFER

to being COLOR_BUFFER+1 to enable differentation between non MRT and MRT paths.
This commit is contained in:
Robert Osfield
2008-04-02 13:47:45 +00:00
parent 4d4a75e818
commit 3e94d93a66
2 changed files with 9 additions and 8 deletions

View File

@@ -338,6 +338,7 @@ const char* Camera_getBufferComponentStr(Camera::BufferComponent buffer)
case (osg::Camera::DEPTH_BUFFER) : return "DEPTH_BUFFER";
case (osg::Camera::STENCIL_BUFFER) : return "STENCIL_BUFFER";
case (osg::Camera::COLOR_BUFFER) : return "COLOR_BUFFER";
case (osg::Camera::COLOR_BUFFER0) : return "COLOR_BUFFER0";
case (osg::Camera::COLOR_BUFFER1) : return "COLOR_BUFFER1";
case (osg::Camera::COLOR_BUFFER2) : return "COLOR_BUFFER2";
case (osg::Camera::COLOR_BUFFER3) : return "COLOR_BUFFER3";