Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fix for building with Visual Studio

  • Loading branch information
slouken committed Jan 20, 2012
1 parent 0a5d2de commit fe84d3995b3f0b33b580991b859258d061c0a3e7
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/render/direct3d/SDL_render_d3d.c
@@ -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;
@@ -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;

0 comments on commit fe84d39

Please sign in to comment.