Skip to content
Permalink
Browse files
Fixed Windows build
  • Loading branch information
slouken committed Aug 18, 2013
1 parent d7817f4 commit 1455a94714735595ed27a79ec484583869577de8
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/render/direct3d/SDL_render_d3d.c
@@ -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);
@@ -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];

0 comments on commit 1455a94

Please sign in to comment.