detect if AVX is supported
This commit is contained in:
parent
537b8605b0
commit
f4ee6128c4
5 changed files with 25 additions and 2 deletions
1
src/dd.c
1
src/dd.c
|
@ -1096,6 +1096,7 @@ HRESULT dd_CreateEx(GUID* lpGuid, LPVOID* lplpDD, REFIID iid, IUnknown* pUnkOute
|
|||
|
||||
g_ddraw->render.sem = CreateSemaphore(NULL, 0, 1, NULL);
|
||||
g_ddraw->wine = GetProcAddress(GetModuleHandleA("ntdll.dll"), "wine_get_version") != 0;
|
||||
g_blt_use_avx = util_is_avx_supported();
|
||||
|
||||
cfg_load();
|
||||
g_ddraw->ref--;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue