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

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

No files matched your search

+5
View File
@@ -125,6 +125,11 @@ extern DECLSPEC void * SDLCALL SDL_AndroidGetActivity(void);
*/
extern DECLSPEC SDL_bool SDLCALL SDL_IsAndroidTV(void);
/**
\brief Return true if the application is running on a Chromebook
*/
extern DECLSPEC SDL_bool SDLCALL SDL_IsChromebook(void);
/**
See the official Android developer guide for more information:
http://developer.android.com/guide/topics/data/data-storage.html