FrameBuffer::Format changed to bit-mask Attachment: Core
[platform/core/uifw/dali-core.git] / dali / public-api / rendering / frame-buffer.cpp
index e6a2405..66d9976 100644 (file)
@@ -25,9 +25,9 @@
 namespace Dali
 {
 
-FrameBuffer FrameBuffer::New( unsigned int width, unsigned int height, Format format )
+FrameBuffer FrameBuffer::New( unsigned int width, unsigned int height, unsigned int attachments )
 {
-  Internal::FrameBufferPtr frameBuffer = Internal::FrameBuffer::New( width, height, format );
+  Internal::FrameBufferPtr frameBuffer = Internal::FrameBuffer::New( width, height, attachments );
   return FrameBuffer( frameBuffer.Get() );
 }