Re: [5/10] d3dx9: Implement D3DXLoadSurfaceFromSurface

2009-06-26 Thread Tony Wasserka
> Watch out, some surfaces aren't lockable. I don't know the d3dx9 api too > well, > but are you sure that you have a lockable surface here? > In some situations IDirect3DDevice9::UpdateSurface or > IDirect3DDevice9::StretchRect may be a faster way to achieve what this code > does(without color

Re: [5/10] d3dx9: Implement D3DXLoadSurfaceFromSurface

2009-06-25 Thread Stefan Dösinger
Am Thursday 25 June 2009 20:26:01 schrieb Tony Wasserka: Watch out, some surfaces aren't lockable. I don't know the d3dx9 api too well, but are you sure that you have a lockable surface here? In some situations IDirect3DDevice9::UpdateSurface or IDirect3DDevice9::StretchRect may be a faster way