Add gs_device_name function

This returns the name of the device, "Direct3D 11" or "OpenGL"
respectively.
This commit is contained in:
jp9000
2014-07-20 15:31:45 -07:00
parent eeb6fc6e9c
commit a446dd74af
7 changed files with 20 additions and 0 deletions

View File

@@ -40,6 +40,7 @@ bool load_graphics_imports(struct gs_exports *exports, void *module,
{
bool success = true;
GRAPHICS_IMPORT(device_name);
GRAPHICS_IMPORT(device_preprocessor_name);
GRAPHICS_IMPORT(device_create);
GRAPHICS_IMPORT(device_destroy);