Initial implementation of shaderapigl

This commit is contained in:
nillerusr
2023-05-16 20:02:28 +00:00
parent 523f4e9eaa
commit b5a0314f33
14 changed files with 3071 additions and 1 deletions
+6
View File
@@ -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;