[5/6] WineD3D: Move the GL info structure into the adapter
H. Verbeet
hverbeet at gmail.com
Thu Dec 20 02:46:29 CST 2007
On 20/12/2007, Stefan Dösinger <stefan at 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.
More information about the wine-devel
mailing list