Mercurial > sdl-ios-xcode
comparison src/video/win32/SDL_d3drender.c @ 2920:cdb01906cb7e
indent
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 25 Dec 2008 05:26:29 +0000 |
parents | 2f91a3847ae8 |
children | 676754cc1acb |
comparison
equal
deleted
inserted
replaced
2919:2f91a3847ae8 | 2920:cdb01906cb7e |
---|---|
724 d3drect.y2 = rect->y + rect->h; | 724 d3drect.y2 = rect->y + rect->h; |
725 | 725 |
726 result = | 726 result = |
727 IDirect3DDevice9_Clear(data->device, 1, &d3drect, D3DCLEAR_TARGET, | 727 IDirect3DDevice9_Clear(data->device, 1, &d3drect, D3DCLEAR_TARGET, |
728 D3DCOLOR_ARGB(renderer->a, | 728 D3DCOLOR_ARGB(renderer->a, |
729 renderer->r, | 729 renderer->r, |
730 renderer->g, | 730 renderer->g, |
731 renderer->b), 1.0f, 0); | 731 renderer->b), 1.0f, 0); |
732 if (FAILED(result)) { | 732 if (FAILED(result)) { |
733 D3D_SetError("Clear()", result); | 733 D3D_SetError("Clear()", result); |
734 return -1; | 734 return -1; |
735 } | 735 } |
736 return 0; | 736 return 0; |