- ret = Image( new Internal::FrameBufferImage(attributes.GetWidth(),
- attributes.GetHeight(),
- attributes.GetPixelFormat(),
- releasePolicy) );
+ ret = FrameBufferImage::New(attributes.GetWidth(),
+ attributes.GetHeight(),
+ pixelFormat,
+ releasePolicy);