Assorted fixes for NaCl. Hat tip to Sylvain Becker
This commit is contained in:
parent
98a3713f34
commit
8631a1b212
3 changed files with 6 additions and 2 deletions
|
@ -51,6 +51,9 @@ NACL_CreateWindow(_THIS, SDL_Window * window)
|
|||
window->flags |= SDL_WINDOW_INPUT_FOCUS; /* always has input focus */
|
||||
window->flags |= SDL_WINDOW_OPENGL;
|
||||
|
||||
SDL_SetMouseFocus(window);
|
||||
SDL_SetKeyboardFocus(window);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue