Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misleading documentation #49

Open
iOrange opened this issue Dec 23, 2023 · 0 comments
Open

Misleading documentation #49

iOrange opened this issue Dec 23, 2023 · 0 comments

Comments

@iOrange
Copy link

iOrange commented Dec 23, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant