Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
indent
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Dec 31, 2008
1 parent 9e2e8a4 commit bd1d161
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions src/video/win32/SDL_d3drender.c
Expand Up @@ -712,7 +712,7 @@ D3D_DirtyTexture(SDL_Renderer * renderer, SDL_Texture * texture, int numrects,
}

static void
D3D_SetBlendMode(D3D_RenderData *data, int blendMode)
D3D_SetBlendMode(D3D_RenderData * data, int blendMode)
{
switch (blendMode) {
case SDL_BLENDMODE_NONE:
Expand Down Expand Up @@ -772,7 +772,9 @@ D3D_RenderPoint(SDL_Renderer * renderer, int x, int y)

D3D_SetBlendMode(data, renderer->blendMode);

result = IDirect3DDevice9_SetTexture(data->device, 0, (IDirect3DBaseTexture9 *)0);
result =
IDirect3DDevice9_SetTexture(data->device, 0,
(IDirect3DBaseTexture9 *) 0);
if (FAILED(result)) {
D3D_SetError("SetTexture()", result);
return -1;
Expand Down Expand Up @@ -820,7 +822,9 @@ D3D_RenderLine(SDL_Renderer * renderer, int x1, int y1, int x2, int y2)

D3D_SetBlendMode(data, renderer->blendMode);

result = IDirect3DDevice9_SetTexture(data->device, 0, (IDirect3DBaseTexture9 *)0);
result =
IDirect3DDevice9_SetTexture(data->device, 0,
(IDirect3DBaseTexture9 *) 0);
if (FAILED(result)) {
D3D_SetError("SetTexture()", result);
return -1;
Expand Down Expand Up @@ -890,7 +894,9 @@ D3D_RenderFill(SDL_Renderer * renderer, const SDL_Rect * rect)

D3D_SetBlendMode(data, renderer->blendMode);

result = IDirect3DDevice9_SetTexture(data->device, 0, (IDirect3DBaseTexture9 *)0);
result =
IDirect3DDevice9_SetTexture(data->device, 0,
(IDirect3DBaseTexture9 *) 0);
if (FAILED(result)) {
D3D_SetError("SetTexture()", result);
return -1;
Expand Down

0 comments on commit bd1d161

Please sign in to comment.