namespace Internal
{
-namespace
-{
-TypeRegistration mType( typeid(Dali::NativeImage), typeid(Dali::Image), NULL );
-}
-
NativeImage::NativeImage( NativeImageInterface& resourceData )
: Image()
{
image->mWidth = resourceData.GetWidth();
image->mHeight = resourceData.GetHeight();
- image->mTexture = NewTexture::New( resourceData );
+ image->mTexture = Texture::New( resourceData );
return image;
}