Moves static d3d texture format conversion utilities to TextureStorage.
TRAC #21910
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1368 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/src/libGLESv2/renderer/Image.cpp b/src/libGLESv2/renderer/Image.cpp
index 0e78248..b41b8e5 100644
--- a/src/libGLESv2/renderer/Image.cpp
+++ b/src/libGLESv2/renderer/Image.cpp
@@ -80,7 +80,7 @@
mHeight = height;
mInternalFormat = internalformat;
// compute the d3d format that will be used
- mD3DFormat = Texture::ConvertTextureInternalFormat(internalformat);
+ mD3DFormat = TextureStorage::ConvertTextureInternalFormat(internalformat);
mActualFormat = dx2es::GetEquivalentFormat(mD3DFormat);
if (mSurface)
@@ -164,7 +164,7 @@
bool Image::isRenderableFormat() const
{
- return Texture::IsTextureFormatRenderable(getD3DFormat());
+ return TextureStorage::IsTextureFormatRenderable(getD3DFormat());
}
GLenum Image::getActualFormat() const