wined3d: Introduce WINED3DFMT_INST and use it in CheckTextureCapability().

This commit is contained in:
Gerald Pfeifer 2010-01-03 17:23:43 +01:00 committed by Alexandre Julliard
parent a55399f5b6
commit 0cf44ae02e
2 changed files with 2 additions and 1 deletions

View File

@ -3124,7 +3124,7 @@ static BOOL CheckTextureCapability(struct wined3d_adapter *adapter,
*
* With Shader Model 3.0 capable cards Instancing 'just works' in Windows.
*/
case WINEMAKEFOURCC('I','N','S','T'):
case WINED3DFMT_INST:
TRACE("ATI Instancing check hack\n");
if (gl_info->supported[ARB_VERTEX_PROGRAM] || gl_info->supported[ARB_VERTEX_SHADER])
{

View File

@ -266,6 +266,7 @@ typedef enum _WINED3DFORMAT
WINED3DFMT_G8R8_G8B8 = 0x42475247, /* GRGB */
WINED3DFMT_R8G8_B8G8 = 0x47424752, /* RGBG */
WINED3DFMT_ATI2N = 0x32495441, /* ATI2 */
WINED3DFMT_INST = 0x54534e49, /* INST */
WINED3DFMT_NVHU = 0x5548564e, /* NVHU */
WINED3DFMT_NVHS = 0x5348564e, /* NVHS */