Fixed Windows build
This commit is contained in:
parent
458f93d7cb
commit
f082b60d08
1 changed files with 3 additions and 2 deletions
|
@ -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];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue