wined3d: Move the num_untracked_materials lookup out of the main drawing loop.
[wine] / dlls / wined3d / wined3d.spec
1 @ stdcall WineDirect3DCreate(long ptr)
2 @ stdcall WineDirect3DCreateClipper(ptr)