wined3d: Fix NULL dereference in generator function.
[wine] / dlls / wined3d / wined3d.spec
1 @ stdcall WineDirect3DCreate(long long ptr)