| 1234 | // =========================== |
| 1235 | |
| 1236 | static bool __cdecl LoadWorldShadows_Hook(int* a1) |
| 1237 | { |
| 1238 | if (g_State.isUsingNvidiaDevice) |
| 1239 | SetVertexBufferPool(D3DPOOL_SYSTEMMEM); |
| 1240 | |
| 1241 | bool result = LoadWorldShadows(a1); |
| 1242 | |
| 1243 | if (g_State.isUsingNvidiaDevice) |
| 1244 | SetVertexBufferPool(D3DPOOL_MANAGED); |
| 1245 | |
| 1246 | return result; |
| 1247 | } |
| 1248 | |
| 1249 | static bool __fastcall CreateAndInitializeDevice_Hook(DWORD* thisp, int, DWORD* a2, DWORD* a3, int a4, char a5) |
| 1250 | { |
nothing calls this directly
no test coverage detected