Add gs_device_type function

This allows a programatic way of determining the type of graphics module
currently active.
This commit is contained in:
jp9000
2014-07-20 16:19:43 -07:00
parent a446dd74af
commit 89a5bdbcf1
7 changed files with 22 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ extern "C" {
#endif
EXPORT const char *device_name(void);
EXPORT int device_type(void);
EXPORT const char *device_preprocessor_name(void);
EXPORT device_t device_create(struct gs_init_data *data);
EXPORT void device_destroy(device_t device);