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
parent 183408d0
......@@ -93,9 +93,7 @@ bool Image11::redefine(Renderer *renderer, GLint internalformat, GLsizei width,
bool Image11::isRenderableFormat() const
{
// TODO - relies on TextureStorage11 implementation
UNIMPLEMENTED();
return false;
return TextureStorage11::IsTextureFormatRenderable(mDXGIFormat);
}
DXGI_FORMAT Image11::getDXGIFormat() const
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment