mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 23:00:42 +00:00
More work. Audio driver works enough to play music now.
This commit is contained in:
@@ -5,10 +5,10 @@
|
||||
|
||||
IGpDisplayDriver *GpDisplayDriverFactory::CreateDisplayDriver(const GpDisplayDriverProperties &properties)
|
||||
{
|
||||
assert(properties.m_Type < EGpDisplayDriverType_Count);
|
||||
assert(properties.m_type < EGpDisplayDriverType_Count);
|
||||
|
||||
if (ms_Registry[properties.m_Type])
|
||||
return ms_Registry[properties.m_Type](properties);
|
||||
if (ms_Registry[properties.m_type])
|
||||
return ms_Registry[properties.m_type](properties);
|
||||
else
|
||||
return nullptr;
|
||||
}
|
||||
|
Reference in New Issue
Block a user