Fixed compiling on Windows Mobile SDK 5.0 with Visual Studio 2008
This commit is contained in:
parent
b33881a48e
commit
10b8372bd3
42 changed files with 1137 additions and 3437 deletions
|
@ -23,13 +23,19 @@
|
|||
|
||||
#include "SDL_windowsvideo.h"
|
||||
|
||||
/* Windows CE compatibility */
|
||||
#ifndef CDS_FULLSCREEN
|
||||
#define CDS_FULLSCREEN 0
|
||||
#endif
|
||||
|
||||
static SDL_bool
|
||||
WIN_GetDisplayMode(LPCTSTR deviceName, DWORD index, SDL_DisplayMode * mode)
|
||||
{
|
||||
SDL_DisplayModeData *data;
|
||||
DEVMODE devmode;
|
||||
#ifndef _WIN32_WCE
|
||||
HDC hdc;
|
||||
#endif
|
||||
|
||||
devmode.dmSize = sizeof(devmode);
|
||||
devmode.dmDriverExtra = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue