Fixed Windows build
authorSam Lantinga <slouken@libsdl.org>
Sat, 17 Aug 2013 17:14:15 -0700
changeset 7651e36a26e969c7
parent 7650 cd3465de2f42
child 7652 cf8970659129
Fixed Windows build
src/render/direct3d/SDL_render_d3d.c
     1.1 --- a/src/render/direct3d/SDL_render_d3d.c	Sat Aug 17 17:04:14 2013 -0700
     1.2 +++ b/src/render/direct3d/SDL_render_d3d.c	Sat Aug 17 17:14:15 2013 -0700
     1.3 @@ -398,7 +398,9 @@
     1.4  static void
     1.5  D3D_InitRenderState(D3D_RenderData *data)
     1.6  {
     1.7 -    Direct3DDevice9 *device = data->device;
     1.8 +    D3DMATRIX matrix;
     1.9 +
    1.10 +    IDirect3DDevice9 *device = data->device;
    1.11  
    1.12      IDirect3DDevice9_SetVertexShader(device, NULL);
    1.13      IDirect3DDevice9_SetFVF(device, D3DFVF_XYZ | D3DFVF_DIFFUSE | D3DFVF_TEX1);
    1.14 @@ -542,7 +544,6 @@
    1.15      Uint32 window_flags;
    1.16      int w, h;
    1.17      SDL_DisplayMode fullscreen_mode;
    1.18 -    D3DMATRIX matrix;
    1.19      int d3dxVersion;
    1.20      char d3dxDLLFile[50];
    1.21