Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Windows candidate list support.
Browse files Browse the repository at this point in the history
Candidate list should now be drawn and function normally.
Tested in XP and 7.
  • Loading branch information
Daniel Wyatt authored and Daniel Wyatt committed Nov 23, 2010
1 parent 9d15ab5 commit ef79a35
Show file tree
Hide file tree
Showing 2 changed files with 570 additions and 14 deletions.
8 changes: 8 additions & 0 deletions src/video/SDL_video.c
Expand Up @@ -34,6 +34,11 @@
#include "../events/SDL_sysevents.h"
#include "../events/SDL_events_c.h"

#if SDL_VIDEO_DRIVER_WIN32
#include "win32/SDL_win32video.h"
extern void IME_Present(SDL_VideoData *videodata);
#endif

#if SDL_VIDEO_OPENGL_ES
#include "SDL_opengles.h"
#endif /* SDL_VIDEO_OPENGL_ES */
Expand Down Expand Up @@ -2687,6 +2692,9 @@ SDL_RenderPresent(void)
if (!renderer || !renderer->RenderPresent) {
return;
}
#if SDL_VIDEO_DRIVER_WIN32
IME_Present((SDL_VideoData *)_this->driverdata);
#endif
renderer->RenderPresent(renderer);
}

Expand Down

0 comments on commit ef79a35

Please sign in to comment.