zengqh / slimdx

Automatically exported from code.google.com/p/slimdx
0 stars 0 forks source link

Surface creation functions need to be fixed up #375

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Apparently there exists both D3DXLoadSurfaceFromMemory and 
D3DXLoadSurfaceFromFileInMemory. We use FromMemory to mean the latter, 
which matches the behavior of Texture but is quite confusing for Surface. 
Surface needs to provide support for both of these and differentiate 
between them clearly.

I think we're best served by renaming FromMemory to FromFileInMemory and 
then adding FromMemory.

Original issue reported on code.google.com by promit....@gmail.com on 2 Dec 2008 at 2:57

GoogleCodeExporter commented 9 years ago
Fixed as of r859.

Original comment by promit....@gmail.com on 12 Jan 2009 at 6:58