Fix for building with Visual Studio
This commit is contained in:
parent
5546f5ad65
commit
320c59b387
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue