Fixed a bunch of compiler warnings with Cygwin/MingW.

This commit is contained in:
Ryan C. Gordon 2012-08-24 19:34:28 -04:00
parent 488a27f1b9
commit 816523a285
6 changed files with 20 additions and 28 deletions

View file

@ -681,9 +681,6 @@ GetScaleQuality(void)
static int
D3D_CreateTexture(SDL_Renderer * renderer, SDL_Texture * texture)
{
D3D_RenderData *renderdata = (D3D_RenderData *) renderer->driverdata;
SDL_Window *window = renderer->window;
D3DFORMAT display_format = renderdata->pparams.BackBufferFormat;
D3D_TextureData *data;
D3DPOOL pool;
DWORD usage;