Bug in OgreD3D11Mappings.cpp

Discussion area about developing or extending OGRE, adding plugins for it or building applications on it. No newbie questions please, use the Help forum for that.
Post Reply
andron
Gnoblar
Posts: 3
Joined: Mon Mar 21, 2011 7:49 pm

Bug in OgreD3D11Mappings.cpp

Post by andron » Wed Mar 05, 2014 9:57 am

Hello.

It seems there is a bug in OgreD3D11Mappings.cpp:

case PF_DXT1: return DXGI_FORMAT_BC1_UNORM;
case PF_DXT2: return DXGI_FORMAT_BC2_UNORM;
case PF_DXT3: return DXGI_FORMAT_BC3_UNORM;
case PF_DXT4: return DXGI_FORMAT_BC4_UNORM;
case PF_DXT5: return DXGI_FORMAT_BC5_UNORM;

Correct:

case PF_DXT1: return DXGI_FORMAT_BC1_UNORM;
case PF_DXT2: return DXGI_FORMAT_BC2_UNORM;
case PF_DXT3: return DXGI_FORMAT_BC2_UNORM;
case PF_DXT4: return DXGI_FORMAT_BC3_UNORM;
case PF_DXT5: return DXGI_FORMAT_BC3_UNORM;

More info:
http://msdn.microsoft.com/en-us/library ... 85%29.aspx
0 x

User avatar
spacegaier
OGRE Team Member
OGRE Team Member
Posts: 4293
Joined: Mon Feb 04, 2008 2:02 pm
Location: Germany
x 2
Contact:

Re: Bug in OgreD3D11Mappings.cpp

Post by spacegaier » Wed Mar 05, 2014 11:27 am

If you think there is a bug, please create a bug ticket on our Ogre3D JIRA tracker. Thanks!
0 x
Ogre Admin [Admin, Dev, PR, Finance, Wiki, etc.] | BasicOgreFramework | AdvancedOgreFramework
Don't know what to do in your spare time? Help the Ogre wiki grow! Or squash a bug...

Post Reply