Fixed bug #294
Can't build SDL 1.2.11(and svn) for Pocket PC 2003 with Visual Studio 2005 Fix contributed by Dmitry Yakimov --HG-- branch : SDL-1.2 extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%402102
This commit is contained in:
parent
9cc61d56c8
commit
a71237840f
3 changed files with 32 additions and 1 deletions
|
@ -505,9 +505,14 @@ fprintf(stderr, "Slept %d ticks\n", (SDL_GetTicks()-ticks));
|
|||
}
|
||||
break;
|
||||
case SDL_KEYDOWN:
|
||||
#ifndef _WIN32_WCE
|
||||
if ( event.key.keysym.sym == SDLK_ESCAPE ) {
|
||||
done = 1;
|
||||
}
|
||||
#else
|
||||
// there is no ESC key at all
|
||||
done = 1;
|
||||
#endif
|
||||
break;
|
||||
case SDL_QUIT:
|
||||
done = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue