Mercurial > sdl-ios-xcode
diff src/video/win32/SDL_d3drender.c @ 2698:e1da92da346c gsoc2008_nds
Clean up.
author | Darren Alton <dalton@stevens.edu> |
---|---|
date | Wed, 27 Aug 2008 04:23:38 +0000 |
parents | 926294b2bb4e |
children | e33ad7ebb7eb |
line wrap: on
line diff
--- a/src/video/win32/SDL_d3drender.c Thu Aug 21 12:38:21 2008 +0000 +++ b/src/video/win32/SDL_d3drender.c Wed Aug 27 04:23:38 2008 +0000 @@ -596,8 +596,8 @@ result = IDirect3DDevice9_UpdateTexture(renderdata->device, (IDirect3DBaseTexture9 *) temp, - (IDirect3DBaseTexture9 *) data-> - texture); + (IDirect3DBaseTexture9 *) + data->texture); IDirect3DTexture9_Release(temp); if (FAILED(result)) { D3D_SetError("UpdateTexture()", result); @@ -805,9 +805,8 @@ } result = - IDirect3DDevice9_SetTexture(data->device, 0, - (IDirect3DBaseTexture9 *) texturedata-> - texture); + IDirect3DDevice9_SetTexture(data->device, 0, (IDirect3DBaseTexture9 *) + texturedata->texture); if (FAILED(result)) { D3D_SetError("SetTexture()", result); return -1;