On 22 April 2016 at 11:18, Józef Kucia jkucia@codeweavers.com wrote:
- if (surface->texture_target == GL_TEXTURE_2D_ARRAY)
- {
/* We don't expect to ever need to emulate NP2 textures when we have EXT_texture_array. */
if (texture->flags & WINED3D_TEXTURE_COND_NP2_EMULATED)
{
FIXME("Cannot download surface %p, level %u, layer %u.\n",
surface, surface->texture_level, surface->texture_layer);
return;
}
Note that you can enforce that in texture_init(). It currently checks for WINED3DUSAGE_LEGACY_CUBEMAP, but it would be easy to check the layer count instead.