Added SDL_IsChromebook() to determine if we're running on a Chromebook.

This commit is contained in:
Sam Lantinga 2018-06-05 12:46:13 -07:00
parent 2dedbc7262
commit 113801b790
5 changed files with 27 additions and 1 deletions

View file

@ -712,3 +712,6 @@ SDL_DYNAPI_PROC(char*,SDL_GameControllerMappingForDeviceIndex,(int a),(a),return
SDL_DYNAPI_PROC(int,SDL_LinuxSetThreadPriority,(Sint64 a, int b),(a,b),return)
#endif
SDL_DYNAPI_PROC(SDL_bool,SDL_HasAVX512F,(void),(),return)
#ifdef __ANDROID__
SDL_DYNAPI_PROC(SDL_bool,SDL_IsChromebook,(void),(),return)
#endif