mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-03-13 22:22:05 +00:00
Reenable GPU Skinning on Apple Silicon
This commit is contained in:
parent
fe90a3c30c
commit
7c4b031691
1 changed files with 4 additions and 1 deletions
|
@ -452,7 +452,7 @@ main
|
|||
*/
|
||||
int main( int argc, const char** argv )
|
||||
{
|
||||
extern idCVar r_useGPUSkinning;
|
||||
//extern idCVar r_useGPUSkinning;
|
||||
|
||||
// DG: needed for Sys_ReLaunch()
|
||||
cmdargc = argc;
|
||||
|
@ -483,6 +483,8 @@ int main( int argc, const char** argv )
|
|||
common->Init( 0, NULL, NULL );
|
||||
}
|
||||
|
||||
// SRS - GPU skinning on Apple Silicon now works for recent builds and/or drivers
|
||||
#if 0
|
||||
// SRS - Determine the machine name, e.g. "x86_64" or "arm64"
|
||||
// Might be cleaner in posix Sys_Init(), but only needed on
|
||||
// macOS and all the required sys includes are located here.
|
||||
|
@ -497,6 +499,7 @@ int main( int argc, const char** argv )
|
|||
r_useGPUSkinning.SetInteger( 0 );
|
||||
}
|
||||
Mem_Free( machineName );
|
||||
#endif
|
||||
|
||||
Posix_LateInit();
|
||||
|
||||
|
|
Loading…
Reference in a new issue