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

Commit

Permalink
Fix for building with Visual Studio
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jan 20, 2012
1 parent 0a5d2de commit fe84d39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/render/direct3d/SDL_render_d3d.c
Expand Up @@ -573,6 +573,7 @@ D3D_SetTargetTexture(SDL_Renderer * renderer, SDL_Texture * texture)
{
D3D_RenderData *data = (D3D_RenderData *) renderer->driverdata;
D3D_TextureData *texturedata;
D3DMATRIX matrix;
HRESULT result;

if (!renderer) return -1;
Expand All @@ -590,7 +591,6 @@ D3D_SetTargetTexture(SDL_Renderer * renderer, SDL_Texture * texture)
}

/* Prepare an identity world and view matrix */
D3DMATRIX matrix;
matrix.m[0][0] = 1.0f;
matrix.m[0][1] = 0.0f;
matrix.m[0][2] = 0.0f;
Expand Down

0 comments on commit fe84d39

Please sign in to comment.