Józef Kucia : wined3d: Use MAX_TEXTURES instead of magic number.