Fixed compiler warning

This commit is contained in:
Sam Lantinga 2017-08-13 20:38:06 -07:00
parent f1829d956f
commit 78865effb5

View File

@ -36,7 +36,6 @@
static void static void
WIN_UpdateDisplayMode(_THIS, LPCTSTR deviceName, DWORD index, SDL_DisplayMode * mode) WIN_UpdateDisplayMode(_THIS, LPCTSTR deviceName, DWORD index, SDL_DisplayMode * mode)
{ {
SDL_VideoData *vid_data = (SDL_VideoData *) _this->driverdata;
SDL_DisplayModeData *data = (SDL_DisplayModeData *) mode->driverdata; SDL_DisplayModeData *data = (SDL_DisplayModeData *) mode->driverdata;
HDC hdc; HDC hdc;