Having trouble to build, DXGIDisableVBlankVirtualization()
Closed this issue · 1 comments
Hello, i was able to build the "Vortice.Win32" Solution.
Also I was able to build Vortice.Windows a few years ago.
Now i keep getting errors when trying to build "Vortice.Windows"
SharpGenTools.Sdk.targets(222,5): HRESULT DXGIDisableVBlankVirtualization() error SG0012: CppFunction [HRESULT DXGIDisableVBlankVirtualization()] is not tagged and attached to any Class/FunctionGroup
"Vortice.DXGI.csproj" -- FAILED
Do you need more information?
Cheers
EDIT:
ok i made some progress, added:
<map function="DXGIDisableVBlankVirtualization" dll='"dxgi.dll"' group="Vortice.DXGI.DXGI" hresult="true" check="false" />
To the "Mappings.xml" file
Now "Vortice.DXGI" project is compiling, still getting more errors in Vortice.Direct3D11, Vortice.Direct3D12.
Chat GPT told me to add that line to Mappings.xml, so i have no idea what i did, but "Vortice.DXGI" is compiling now.
(I don't know anything about SharpGenTools)
Closing this because i have other errors now.
Might have used the wrong files at the start.