Implemented Image11::isRenderableFormat.
TRAC #22358
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1745 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/src/libGLESv2/renderer/Image11.cpp b/src/libGLESv2/renderer/Image11.cpp
index 83ffad4..66bcc26 100644
--- a/src/libGLESv2/renderer/Image11.cpp
+++ b/src/libGLESv2/renderer/Image11.cpp
@@ -93,9 +93,7 @@
bool Image11::isRenderableFormat() const
{
- // TODO - relies on TextureStorage11 implementation
- UNIMPLEMENTED();
- return false;
+ return TextureStorage11::IsTextureFormatRenderable(mDXGIFormat);
}
DXGI_FORMAT Image11::getDXGIFormat() const