mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-31 06:29:20 +00:00
Initial implementation of shaderapigl
This commit is contained in:
@@ -752,6 +752,12 @@ bool CSourceAppSystemGroup::Create()
|
||||
// Load up the appropriate shader DLL
|
||||
// This has to be done before connection.
|
||||
char const* pDLLName = "shaderapidx9" DLL_EXT_STRING;
|
||||
|
||||
if ( CommandLine()->FindParm( "-gl" ) )
|
||||
{
|
||||
pDLLName = "shaderapigl" DLL_EXT_STRING;
|
||||
}
|
||||
|
||||
if ( CommandLine()->FindParm( "-noshaderapi" ) )
|
||||
{
|
||||
pDLLName = "shaderapiempty" DLL_EXT_STRING;
|
||||
|
||||
Reference in New Issue
Block a user