2009/12/28 Gerald Pfeifer gerald@pfeifer.com:
In dlls/wined3d/directx.c we have the following where I wonder whether you may want to add this to the enum as well?
case WINEMAKEFOURCC('I','N','S','T'): TRACE("ATI Instancing check hack\n"); if (gl_info->supported[ARB_VERTEX_PROGRAM] || gl_info->supported[ARB_VERTEX_SHADER]) { TRACE_(d3d_caps)("[OK]\n"); return TRUE; } TRACE_(d3d_caps)("[FAILED]\n"); return FALSE;
Yeah, just turn that into WINED3DFMT_INST.
And in dlls/wined3d/utils.c we have TSTYPE_TO_STR(WINED3DTS_WORLDMATRIX(0)) in debug_d3dtstype which also triggers the warning.
You can do something similar with WINED3DTRANSFORMSTATETYPE, and then replace WINED3DTS_WORLDMATRIX(0) with WINED3DTS_WORLD.