Skip to content

Commit

Permalink
Fixed Windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Aug 18, 2013
1 parent d7817f4 commit 1455a94
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/render/direct3d/SDL_render_d3d.c
Expand Up @@ -398,7 +398,9 @@ D3DFMTToPixelFormat(D3DFORMAT format)
static void
D3D_InitRenderState(D3D_RenderData *data)
{
Direct3DDevice9 *device = data->device;
D3DMATRIX matrix;

IDirect3DDevice9 *device = data->device;

IDirect3DDevice9_SetVertexShader(device, NULL);
IDirect3DDevice9_SetFVF(device, D3DFVF_XYZ | D3DFVF_DIFFUSE | D3DFVF_TEX1);
Expand Down Expand Up @@ -542,7 +544,6 @@ D3D_CreateRenderer(SDL_Window * window, Uint32 flags)
Uint32 window_flags;
int w, h;
SDL_DisplayMode fullscreen_mode;
D3DMATRIX matrix;
int d3dxVersion;
char d3dxDLLFile[50];

Expand Down

0 comments on commit 1455a94

Please sign in to comment.