Add an easier to use New in FrameBuffer for the 99% of the cases where we use offscreens
[platform/core/uifw/dali-core.git] / dali / internal / event / images / frame-buffer-image-impl.cpp
index def730a..b5a4439 100644 (file)
@@ -30,12 +30,11 @@ namespace Internal
 
 namespace
 {
-const int RenderBufferFormatToFrameBufferAttachments[]  = { Dali::FrameBuffer::Attachment::NONE,
-                                                            Dali::FrameBuffer::Attachment::DEPTH,
-                                                            Dali::FrameBuffer::Attachment::STENCIL,
-                                                            Dali::FrameBuffer::Attachment::DEPTH_STENCIL
-                                                          };
-
+const Dali::FrameBuffer::Attachment::Mask RenderBufferFormatToFrameBufferAttachments[]  =
+  { Dali::FrameBuffer::Attachment::NONE,
+    Dali::FrameBuffer::Attachment::DEPTH,
+    Dali::FrameBuffer::Attachment::STENCIL,
+    Dali::FrameBuffer::Attachment::DEPTH_STENCIL };
 } // unnamed namespace
 
 FrameBufferImagePtr FrameBufferImage::New( unsigned int width,