if( FAILED( D3DXCreateTextureFromFileInMemoryEx( g_pd3dDevice, ImageBuffer,
infostruct.uncompressed_size,0,0,1,0,D3DFMT_UNKNOWN,D3DPOOL_DEFAULT,D3DX_FILTER_DITHER,0,0x00FF00FF,&ImageInfo,NULL, &spritemanager[i].pSmngTextureReference[j] ) ) )
anyone know the solution?
D3DXCreateTextureFromFileInMemoryEx not working
I''m trying to load a texture from a zip file using zlib and I''ve gotten it to work with D3DXCreateTextureFromFileInMemory() but when I use D3DXCreateTextureFromFileInMemoryEx my textures don''t show. Here''s the arguments I''m passing.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement