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

@@ -418,6 +418,11 @@ gs_device::gs_device(gs_init_data *data)
device_setrendertarget(this, NULL, NULL);
}
const char *device_name(void)
{
return "Direct3D 11";
}
const char *device_preprocessor_name(void)
{
return "_D3D11";