The documentation for the function agsDriverExtensionsDX11_CreateDevice says this:
/// \param [in] extensionParams Optional pointer to the struct to specify DX11 additional device creation parameters.
To me this sounds like "if you don't want to specify any additional parameters - you can pass a nullptr here".
But passing a nullptr is causing Access violation reading location 0x0000000000000020
I think using "Optional pointer" here is misleading, and should you better wording specifying that you still need to pass a valid pointer.
The documentation for the function
agsDriverExtensionsDX11_CreateDevicesays this:/// \param [in] extensionParams Optional pointer to the struct to specify DX11 additional device creation parameters.To me this sounds like "if you don't want to specify any additional parameters - you can pass a nullptr here".
But passing a
nullptris causingAccess violation reading location 0x0000000000000020I think using "Optional pointer" here is misleading, and should you better wording specifying that you still need to pass a valid pointer.