20 Dec
2007
20 Dec
'07
8:46 a.m.
On 20/12/2007, Stefan Dösinger <stefan(a)codeweavers.com> wrote:
+#define WINED3D_ATR_TYPE(type) GLINFO_LOCATION.glTypeLookup[type].d3dType +#define WINED3D_ATR_SIZE(type) GLINFO_LOCATION.glTypeLookup[type].size +#define WINED3D_ATR_GLTYPE(type) GLINFO_LOCATION.glTypeLookup[type].glType +#define WINED3D_ATR_NORMALIZED(type) GLINFO_LOCATION.glTypeLookup[type].normalized +#define WINED3D_ATR_TYPESIZE(type) GLINFO_LOCATION.glTypeLookup[type].typesize
Unrelated to the actual patch, but I think it wouldn't hurt to get rid of these macros. They're pretty much unnecessary.