Add gs_device_type function
This allows a programatic way of determining the type of graphics module currently active.
This commit is contained in:
@@ -41,6 +41,7 @@ bool load_graphics_imports(struct gs_exports *exports, void *module,
|
||||
bool success = true;
|
||||
|
||||
GRAPHICS_IMPORT(device_name);
|
||||
GRAPHICS_IMPORT(device_type);
|
||||
GRAPHICS_IMPORT(device_preprocessor_name);
|
||||
GRAPHICS_IMPORT(device_create);
|
||||
GRAPHICS_IMPORT(device_destroy);
|
||||
|
Reference in New Issue
Block a user